[SOLVED] Postgres - prepared statement
Posted: Thu 09 Jul 2015 17:24
Hi Support,
I am using Unidac version 6.14 with Lazarus 1.4.
Connecting to Postgres i am sending something like below after connecting:
start transaction;
sql1;
...
sql10;
commit;
in a ExecSQL command.
I am getting an error with '...cannot insert multiple commands into a prepared statement'.
Please advise how this could be sent to the server, the below did not work for me and I did not find a reference somewhere else:
conn.SpecificOptions.Values['UnpreparedCommandExecution'] := 'true';
Thank you
I am using Unidac version 6.14 with Lazarus 1.4.
Connecting to Postgres i am sending something like below after connecting:
start transaction;
sql1;
...
sql10;
commit;
in a ExecSQL command.
I am getting an error with '...cannot insert multiple commands into a prepared statement'.
Please advise how this could be sent to the server, the below did not work for me and I did not find a reference somewhere else:
conn.SpecificOptions.Values['UnpreparedCommandExecution'] := 'true';
Thank you