SourcePro® 2022.1 |
SourcePro® API Reference Guide |
Provides a mechanism for making direct calls to the PostgreSQL API, and some methods for setting access module-specific properties. More...
#include <rw/db/pgssrc/pgssysh.h>
Public Member Functions | |
PGconn * | dbc () const |
RWDBStatus | rowsPerCursorFetch (unsigned long value) |
unsigned long | rowsPerCursorFetch () const |
unsigned long | serverVersion () const |
Class RWDBPGSSystemHandle provides methods for setting and retrieving options that affect performance. It also contains the PGconn
used by the RWDBConnection.
|
inline |
Returns a pointer to the PGconn
encapsulated by the respective RWDBConnection.
RWDBStatus RWDBPGSSystemHandle::rowsPerCursorFetch | ( | unsigned long | value | ) |
Sets value to the number of rows to be fetched from the server with cursor result sets in a single call, and returns an RWDBStatus indicating whether the operation succeeded.
unsigned long RWDBPGSSystemHandle::rowsPerCursorFetch | ( | ) | const |
Returns the number of rows that will be fetched from the server with cursor result sets in a single call. The default value is 10.
unsigned long RWDBPGSSystemHandle::serverVersion | ( | ) | const |
Returns the version of the server we're connected to.
Copyright © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |