Re: [GENERAL] plpythonu and dollar quoting

2005-05-03 Thread Michael Fuhr
On Tue, May 03, 2005 at 02:46:04PM -0700, CSN wrote: > > Can dollar quoting be used with plpythonu (like with plperl - Yes, if you're using PostgreSQL 8.0 or later. Dollar quotes have nothing to do with the function's language -- they're just another way to quote a string. http://www.postgresql.

Re: [GENERAL] plpythonu and dollar quoting

2005-05-03 Thread CSN
Nevermind, I see dollar-quoting was added in 8.0. --- CSN <[EMAIL PROTECTED]> wrote: > Can dollar quoting be used with plpythonu (like with > plperl - > http://www.postgresql.org/docs/8.0/interactive/plperl.html#PLPERL-FUNCS)? > When trying to create a function I get this error: > > 'syntax err

[GENERAL] plpythonu and dollar quoting

2005-05-03 Thread CSN
Can dollar quoting be used with plpythonu (like with plperl - http://www.postgresql.org/docs/8.0/interactive/plperl.html#PLPERL-FUNCS)? When trying to create a function I get this error: 'syntax error at or near "$"' If I use single quotes, then escape all quotes and (a lot of) backslashes in the