From: Oleg <lego12239@yandex.ru>
To: pgsql-general@lists.postgresql.org
Subject: libpq PQexecParams & value placeholders
Date: Fri, 14 Dec 2018 14:33:38 +0300
Message-ID: <20181214113338.GA4644@legohost> (raw)
Hi, all.
Do we really need a numeric value placeholders like $1 in command string?
Construction of such string for complex non-static queries is very annoying.
Why do we can't simply use $$ placeholder, which take the next value from an
array of values?
--
Олег Неманов (Oleg Nemanov)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: lego12239@yandex.ru
Subject: Re: libpq PQexecParams & value placeholders
In-Reply-To: <20181214113338.GA4644@legohost>
References: <20181214113338.GA4644@legohost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox