1
0
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:
Tom Lane
1999-02-07 22:08:54 +00:00
parent f280266985
commit fa0f24165c
5 changed files with 23 additions and 11 deletions

View File

@ -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)