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:27:45 by Stephen R. van den Berg <srb@cuci.nl>
ae952fa02217ff42dc2835e09c2696fd6e0f0efd (
13
lines) (+
6
/-
7
)
[
Show
|
Annotate
]
Branch:
8.1
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