From: | "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org>, "Andrew Gierth" <andrew(at)tao11(dot)riddles(dot)org(dot)uk> |
Subject: | Re: Re: [BUGS] BUG #4027: backslash escapingnotdisabledinplpgsql |
Date: | 2009-04-13 19:06:33 |
Message-ID: | 49E346E9.EE98.0025.0@wicourts.gov |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
>> a change to CREATE FUNCTION such that there is an implied SET
>> standard_compliant_strings FROM CURRENT
Hopefully obvious, I meant standard_conforming_strings.
> it seems like a really bad idea.
Then perhaps a note in the PL/pgSQL docs about the importance of
specifying that clause if the function contains any character string
literals which include a backslash? Such a note should probably point
out that without this clause, the runtime value of any such literal
will be dependent on the value of standard_conforming_strings when the
plan is generated.
I think that many will find that behavior surprising; so if it's not
feasible to change it, we should at least document it.
-Kevin
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2009-04-13 23:57:51 | Re: libpq 8.4 beta1: $PGHOST complains about missing root.crt |
Previous Message | Magnus Hagander | 2009-04-13 10:25:11 | Re: libpq 8.4 beta1: $PGHOST complains about missing root.crt |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2009-04-13 19:12:26 | join ordering |
Previous Message | Pavel Stehule | 2009-04-13 18:33:47 | Re: proposal: add columns created and altered to pg_proc and pg_class |