Hello
When I run a PlPgSQL function that has a void return value (no return value), and I run the query like 'select myfunction()' using TPgQuery.Open (not .Execute), the query is run twice. Why is that?
I can see two identical TCP/IP packets sent in WireShark and the work is done twice in PostgreSQL. In my case, I get a constraint violation, which is not acceptable.
Thanks for your support.