Search Postgresql Archives

Re: libpq: multiple commands within single query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



=?KOI8-R?B?99HexdPMwdcg4szJzs7Jy8/X?= <slavmfm@xxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux