Postgres multiple placeholders error

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
WhiteWind
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 24.11.2008, 07:22

Postgres multiple placeholders error

Post 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
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: Postgres multiple placeholders error

Post 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
WhiteWind
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 24.11.2008, 07:22

Re: Postgres multiple placeholders error

Post 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
Post Reply