Re: libpq and PQexecPrepared - Mailing list pgsql-general

From Tom Lane
Subject Re: libpq and PQexecPrepared
Date
Msg-id 9111.1114996103@sss.pgh.pa.us
Whole thread Raw
In response to libpq and PQexecPrepared  (Harry Jackson <harryjackson@gmail.com>)
List pgsql-general
Harry Jackson <harryjackson@gmail.com> writes:
> The params are correct for the entry in the logs at [7-1] but if you
> look at [9-1] the params are in the wrong order. This looks odd to me
> and I was wondering if someone could explain this?

Not the same parameters --- those $n are plpgsql doing its own thing to
pass down its variables into the main executor.

I see nothing wrong with what you showed ... and it's certainly got
nothing to do with problems on the libpq side.  Perhaps you should
explain what's going wrong for you rather than jumping to conclusions
about where the problem is.

            regards, tom lane

pgsql-general by date:

Previous
From: CSN
Date:
Subject: could not load library plperl.so
Next
From: Vlad
Date:
Subject: 'prepare' is not quite schema-safe