mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Add PQresStatus() function to avoid direct access to pgresStatus[] array,
making life easier for Windoids...
This commit is contained in:
@ -90,7 +90,7 @@ main()
|
||||
/* async notification only come back as a result of a query */
|
||||
/* we can send empty queries */
|
||||
res = PQexec(conn, " ");
|
||||
/* printf("res->status = %s\n", pgresStatus[PQresultStatus(res)]); */
|
||||
/* printf("res->status = %s\n", PQresStatus(PQresultStatus(res))); */
|
||||
/* check for asynchronous returns */
|
||||
notify = PQnotifies(conn);
|
||||
if (notify)
|
||||
|
Reference in New Issue
Block a user