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