Re: plpythonu and dollar quoting - Mailing list pgsql-general

From CSN
Subject Re: plpythonu and dollar quoting
Date
Msg-id 20050503220637.66961.qmail@web52910.mail.yahoo.com
Whole thread Raw
In response to plpythonu and dollar quoting  (CSN <cool_screen_name90001@yahoo.com>)
List pgsql-general
Nevermind, I see dollar-quoting was added in 8.0.


--- CSN <cool_screen_name90001@yahoo.com> 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 error at or near "$"'
>
> If I use single quotes, then escape all quotes and
> (a
> lot of) backslashes in the python code then the
> function gets created fine.
>
> CSN




__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs

pgsql-general by date:

Previous
From: "Zlatko Matic"
Date:
Subject: calculated identity field in views, again...
Next
From: Michael Fuhr
Date:
Subject: Re: plpythonu and dollar quoting