Re: Parameter placeholders, $n vs ?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Lele Gaifax <lele(at)metapensiero(dot)it>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Parameter placeholders, $n vs ?
Date: 2018-05-24 12:17:52
Message-ID: CAKFQuwYh=fk31_2DJFDGe1D4UoBP2KThPTaPznZCV5HJ5Lha8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, May 24, 2018, Lele Gaifax <lele(at)metapensiero(dot)it> wrote:
>
> So the questions: is the '?' style placeholder a supported variant? and if
> so,
> should the ParamRef doc tell something about that?
>

PostgreSQL's Prepare statement doesn't accept question mark as a parameter
symbol, and cannot ever because it is already a valid operator symbol.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-05-24 12:57:52 Re: Insert data if it is not existing
Previous Message Peter J. Holzer 2018-05-24 09:58:14 Re: Renice on Postgresql process