1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Addition of CmdTuples(). Wraps PQcmdTuples.

Vince Vielhaber
This commit is contained in:
Bruce Momjian
1999-09-28 04:49:22 +00:00
parent b89044b275
commit 5bb6bb8dd6
2 changed files with 9 additions and 2 deletions

View File

@ -10,7 +10,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.4 1999/09/21 21:19:31 momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.5 1999/09/28 04:49:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -61,6 +61,12 @@ return PQntuples(pgResult);
}
int PgDatabase::CmdTuples()
{
return PQcmdTuples (PGresult);
}
int PgDatabase::Fields()
{
return PQnfields(pgResult);