pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-11-10
2014-11-10 14:22:03 by Stephen R. van den Berg <srb@cuci.nl>
933a765dc67e0b54ce2150c2c32576022a7b4085 (
13
lines) (+
6
/-
7
)
[
Show
|
Annotate
]
Branch:
8.0
Doc fixes.
3:
* They are kept here to avoid circular references. */
+
//! The pgsql backend, shared between all connection instances.
+
//! It even runs in non-callback mode.
+
#pike __REAL_VERSION__ #require constant(Thread.Thread) #include "pgsql.h"
-
//!
-
//! The pgsql backend, shared between all connection instances.
-
//! It even runs in non-callback mode.
-
//!
-
+
protected Thread.Mutex backendmux = Thread.Mutex(); final Pike.Backend local_backend = Pike.SmallBackend(); protected int clientsregistered;
95:
return realbuffer->stashflushmode; }
-
//
!
Some pgsql utility functions
+
// Some pgsql utility functions
class PGplugbuffer { inherit Stdio.Buffer;
831:
return (datarow=datarow[..<1]); }
-
//! @param
copydatasend
+
//! @param
copydata
//! When using COPY FROM STDIN, this method accepts a string or an //! array of strings to be processed by the COPY command; when sending //! the amount of data sent per call does not have to hit row or column