Re: BUG #4027: backslash escaping not disabled in plpgsql - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #4027: backslash escaping not disabled in plpgsql
Date
Msg-id 200803121318.m2CDIfj22909@momjian.us
Whole thread Raw
In response to Re: BUG #4027: backslash escaping not disabled in plpgsql  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #4027: backslash escaping not disabled in plpgsql
List pgsql-bugs
Peter Eisentraut wrote:
> Tom Lane wrote:
> > plpgsql does not consider standard_conforming_strings --- it still uses
> > backslash escaping in its function bodies regardless.  Since the
> > language itself is not standardized, I see no particular reason that
> > standard_conforming_strings should govern it.
>
> I think plpgsql should behave either consistently with the rest of PostgreSQL
> or with Oracle, which it is copied from.

Agreed. standard_conforming_strings should affect _all_ strings.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #3681: fillers are NULL in pgbench
Next
From: Laurent Birtz
Date:
Subject: Re: LISTEN/NOTIFY race condition?