From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: How to write such a query?
Date: Thu, 6 Jan 2022 01:11:26 -0600
Message-ID: <deaea309-c93d-6bcf-8a40-78bf88b17874@gmail.com> (raw)
In-Reply-To: <CA+FnnTzcdREPXasv_23AGysSG1J3zFZpOZvV1qcukJoOjOm7pQ@mail.gmail.com>
References: <CA+FnnTzgQ3c75FE-eEPYVOa+F9N94jUpwW278ki_OeCJetovOA@mail.gmail.com>
<CAKFQuwZEMUZJ55rFR=8UB-AzHccEPGUin6QjtgnWb3B4dXbVmw@mail.gmail.com>
<CA+FnnTzcdREPXasv_23AGysSG1J3zFZpOZvV1qcukJoOjOm7pQ@mail.gmail.com>
On 1/6/22 1:07 AM, Igor Korot wrote:
> Hi, David,
>
> On Thu, Jan 6, 2022 at 1:00 AM David G. Johnston
> <david.g.johnston@gmail.com> wrote:
>> On Wednesday, January 5, 2022, Igor Korot <ikorot01@gmail.com> wrote:
>>>
>>> Is there a way to write such a SELECT statement with the
>>> named parameter in PostgreSQL?
>>
>> The server, and its prepared SQL capability, doesn’t understand named parameters. Only numbered ones.
>>
>> That said, there are a number of different ways to write and execute SQL available to you and each of those provides different extended capabilities. For instance, psql and its variables feature.
> It looks like your answer contradicts with Ron...
TIMTOWTDI
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com
Subject: Re: How to write such a query?
In-Reply-To: <deaea309-c93d-6bcf-8a40-78bf88b17874@gmail.com>
References: <CA+FnnTzgQ3c75FE-eEPYVOa+F9N94jUpwW278ki_OeCJetovOA@mail.gmail.com> <CAKFQuwZEMUZJ55rFR=8UB-AzHccEPGUin6QjtgnWb3B4dXbVmw@mail.gmail.com> <CA+FnnTzcdREPXasv_23AGysSG1J3zFZpOZvV1qcukJoOjOm7pQ@mail.gmail.com> <deaea309-c93d-6bcf-8a40-78bf88b17874@gmail.com>
* 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