Positional parameters and question mark notation

From: Andreas Lubensky <lubensky(at)cognitec(dot)com>
To: PostgreSQL General Discussion Forum <pgsql-general(at)postgresql(dot)org>
Subject: Positional parameters and question mark notation
Date: 2014-01-20 10:00:48
Message-ID: 1390212048.25173.150.camel@aries.cognitec-systems.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is there any way to make PostgreSQL support the question mark (?)
notation instead of the dollar sign ($1, $2...) for prepared statements?
Most databases use the question mark notation and we have a set of
simple queries that are supposed to be portable across different
database systems. So far we use PostgreSQL via ODBC, but now we want to
switch to a native libpq implementation.

--
with best regards,

Andreas Lubensky

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dmitriy Igrishin 2014-01-20 10:08:04 Re: Positional parameters and question mark notation
Previous Message Sameer Kumar 2014-01-20 09:50:02 Re: using rpmbuild with PostgreSQL 9.2.6 source code