On Wed, Jun 3, 2026 at 2:17 PM Nathan Bossart <[email protected]> wrote:
> Hm.  So there's actually a pretty obvious problem here.  Say a user
> executes something like PQsendQuery(conn, "DISCARD ALL") and then tries to
> execute an lo_* function (modified to use prepared statements) prior to
> consuming the result.  In that case, the callback won't be called in time
> and the LO function will fail.

Are you allowed to call lo_*/PQfn() in the middle of an operation like
that? I.e. does it work today?

--Jacob


Reply via email to