Page 1 of 1

Postgres multiple placeholders error

Posted: 14.04.2023, 07:34
by WhiteWind
It's not possible to use more than one '?' placeholder in PreparedStatement. Details: https://sourceforge.net/p/zeoslib/tickets/563/
Tests cover either queries with one '?' placeholder or $1,$2,$3 placeholders. So they don't cover this issue

Re: Postgres multiple placeholders error

Posted: 14.04.2023, 15:31
by marsupilami
Hello WhiteWind,

I replied to your post in the Bug Tracker. Generally it makes sense to supply a small program that demonstrates the problem. I created a tescase based on the scarce information you gave me and it seems to work without problems. See my answer in the bug tracker.

With best regards,

Jan

Re: Postgres multiple placeholders error

Posted: 16.04.2023, 12:21
by WhiteWind
Sorry, I can no longer reproduce this error. Either it was fixed in the mean time, or it was because of my own customizations. You can close the issue