diff options
| author | Tom Lane | 1999-02-07 22:08:54 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-02-07 22:08:54 +0000 |
| commit | fa0f24165c026c522c052ac2f4ea35b97e6bbb5f (patch) | |
| tree | fe059780389a2847f0bc190b4426d4a16ec526d5 /src/test/examples | |
| parent | f2802669856dafe9e26b21cc8779acf6dcbef921 (diff) | |
Add PQresStatus() function to avoid direct access to pgresStatus[] array,
making life easier for Windoids...
Diffstat (limited to 'src/test/examples')
| -rw-r--r-- | src/test/examples/testlibpq2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c index 540ed91cbfe..059e39102e2 100644 --- a/src/test/examples/testlibpq2.c +++ b/src/test/examples/testlibpq2.c @@ -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) |
