Re: Weird double single quote issue

From: Richard Huxton <dev(at)archonet(dot)com>
To: Peter <peter(at)greatnowhere(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Weird double single quote issue
Date: 2006-11-02 15:49:12
Message-ID: 454A1378.4080004@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter wrote:
>
> Allright, the quote_literal() function helped to a certain extent. One
> field is now always properly formatted, and one other sometimes is
> quoted... and sometimes is not.
>
> It still feels like internal PG issue to me... we'll try upgrading to
> latest revision and see what happens...

The only place I can think is some subtle bug in the dollar-quoting
code. Otherwise, I think plpgsql just uses the SQL expression evaluator
so it can't come up with a different answer. And that doesn't sound
likely to me.

If you run that segment of the procedure with some hard-coded values,
does it still do it?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2006-11-02 15:54:17 Re: pg_dump question
Previous Message Shelby Cain 2006-11-02 15:48:58 Re: lots of values for IN() clause