pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql_util.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:20:
#include "pgsql.h" #define PORTALINIT 0 // Portal states #define PARSING 1 #define BOUND 2 #define COMMITTED 3 #define COPYINPROGRESS 4 #define CLOSING 5 #define CLOSED 6 #define PURGED 7
-
// If this is extended, change the type of _state
+
#define NOERROR 0 // Error states networkparser #define PROTOCOLERROR 1 #define PROTOCOLUNSUPPORTED 2 #define LOSTERROR "Database connection lost" //! The instance of the pgsql dedicated backend. final Pike.Backend local_backend;
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:403:
#endif socket; private int towrite; final multiset(Result) runningportals = (<>); final Thread.Mutex nostash; final Thread.MutexKey started; final Thread.Queue stashqueue; final Thread.Condition stashavail; final Stdio.Buffer stash;
-
/
*
FIXME
actually:
int(KEEP..SYNCSEND) stashflushmode
-
* but the PikeParser does not approve, and refdoc
-
* generation aborts
-
*
/
-
final int(0..4) stashflushmode;
+
/
/!
@ignore
+
final
int(KEEP..SYNCSEND) stashflushmode
;
+
/
/!
@endignore
final Thread.ResourceCount stashcount; final int synctransact; #ifdef PG_DEBUGRACE final mixed nostrack; #endif #ifdef PG_DEBUG final int queueoutidx; final int queueinidx = -1; #endif
pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:713:
class Result { inherit __builtin.Sql.Result; private proxy pgsqlsess; private int(0..1) eoffound; private conxion c; private conxiin cr; final int(0..1) untolderror; final mixed delayederror;
-
final int(
0
..
7
) _state;
//
FIXME actually: int(PORTALINIT..PURGED)
+
//! @ignore
+
final int(
PORTALINIT
..
PURGED
) _state;
+
//
!
@endignore
final int _fetchlimit; private int(0..1) alltext; final int(0..1) _forcetext; private int syncparse; private int transtype; final string _portalname; private int inflight; int portalbuffersize;