public inbox for [email protected]  
help / color / mirror / Atom feed
From: Igor Korot <[email protected]>
To: Laurenz Albe <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: POprepare fails
Date: Thu, 12 Mar 2026 13:16:07 -0700
Message-ID: <CA+FnnTwh2U4Lo-Uf2pn-i=FeVgU8dd6RDZE5n8WPzEPySgvCnA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CA+FnnTyFmj-dTMDO108_WowHMS479-OFBT71oNC=NY98Vg01Nw@mail.gmail.com>
	<[email protected]>

Thx, Lauren’s.


On Thu, Mar 12, 2026 at 1:04 PM Laurenz Albe <[email protected]>
wrote:

> On Thu, 2026-03-12 at 20:16 -0500, Igor Korot wrote:
> > ERROR:  syntax error at or near \"AND\"\n
> > LINE 1: ...lnamespace AND idx.indisprimary AND n.nspname = ? AND
> t.reln...
> >
> > What is going on?
>
> You used the question mark as a parameter placeholder, but you are using
> the C API, not JDBC.  The placeholders are $1, $2 and so on.
>
> Yours,
> Laurenz Albe
>


reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: POprepare fails
  In-Reply-To: <CA+FnnTwh2U4Lo-Uf2pn-i=FeVgU8dd6RDZE5n8WPzEPySgvCnA@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox