=?KOI8-R?B?99HexdPMwdcg4szJzs7Jy8/X?= <slavmfm(at)gmail(dot)com> writes:
> Yeah - that is how I do (PGgetResult function returns results until it will
> return "NULL" pointer which means that all data for whole "PGsendQuery" was
> returned). But what does it mean when query which contain 3 "SELECT"
> commands returns just one result (second "PGgetResult()" already returns
> null pointer)?
Most likely, the command failed ... have you tried inspecting the
PGresult to see what status it's reporting?
regards, tom lane