Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5bb6bb8d
Commit
5bb6bb8d
authored
Sep 28, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addition of CmdTuples(). Wraps PQcmdTuples.
Vince Vielhaber
parent
b89044b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/interfaces/libpq++/pgdatabase.cc
src/interfaces/libpq++/pgdatabase.cc
+7
-1
src/interfaces/libpq++/pgdatabase.h
src/interfaces/libpq++/pgdatabase.h
+2
-1
No files found.
src/interfaces/libpq++/pgdatabase.cc
View file @
5bb6bb8d
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* 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);
...
@@ -61,6 +61,12 @@ return PQntuples(pgResult);
}
}
int
PgDatabase
::
CmdTuples
()
{
return
PQcmdTuples
(
PGresult
);
}
int
PgDatabase
::
Fields
()
int
PgDatabase
::
Fields
()
{
{
return
PQnfields
(
pgResult
);
return
PQnfields
(
pgResult
);
...
...
src/interfaces/libpq++/pgdatabase.h
View file @
5bb6bb8d
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
*
*
* $Id: pgdatabase.h,v 1.
3 1999/09/21 21:19:31
momjian Exp $
* $Id: pgdatabase.h,v 1.
4 1999/09/28 04:49:22
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -39,6 +39,7 @@ public:
...
@@ -39,6 +39,7 @@ public:
// query result access
// query result access
int
Tuples
();
int
Tuples
();
int
CmdTuples
();
int
Fields
();
int
Fields
();
const
char
*
FieldName
(
int
field_num
);
const
char
*
FieldName
(
int
field_num
);
int
FieldNum
(
const
char
*
field_name
);
int
FieldNum
(
const
char
*
field_name
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment