Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour - Mailing list pgsql-general

From Vincenzo Romano
Subject Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour
Date
Msg-id 3eff28921001132219p1a238596ge288cd1708394ba7@mail.gmail.com
Whole thread Raw
In response to Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Scott Mead <scott.lists@enterprisedb.com>)
Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
2010/1/14 Adrian Klaver <adrian.klaver@gmail.com>:
> On Wednesday 13 January 2010 2:17:51 pm Scott Mead wrote:
>> On Wed, Jan 13, 2010 at 11:00 PM, Vincenzo Romano <
>>
>> vincenzo.romano@notorand.it> wrote:
>> > It is not the check or the select.
>> > It is the way the substitution has been implemented. It looks like the
>> > code replaces the variable name and not the value.
>> > Which is different from what is written at page 800.
>> > I only hope they won't change the manual to match the feature/bug
>> > (warning: new joke)
>>
>> Page 800:
>>
>> "Another restriction on parameter symbols is that they only work in SELECT,
>> INSERT, UPDATE, and DELETE commands. In other statement types (generically
>> called utility statements), you must insert values textually even if they
>> are just data values."
>
> Scott, thanks for that I must have read through that section several times at
> least with out picking up on it.
>
> --
> Adrian Klaver
> adrian.klaver@gmail.com
>

Really?

That section is not in any page of the v8.4.2 documentation either PDF or HTML.
The sentence has been introduced (yesterday?) in 8.5devel, which is
far from being "current".

    I only hope they won't change the manual to match the feature/bug
(warning: new joke)

So that was not a joke at all! :-(

--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Collate order on Mac OS X, text with diacritics in UTF-8
Next
From: Scott Marlowe
Date:
Subject: Re: Collate order on Mac OS X, text with diacritics in UTF-8