pike.git/
lib/
modules/
Sql.pmod/
pgsql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-11-16
2017-11-16 00:41:24 by Stephen R. van den Berg <srb@cuci.nl>
c6d661422863124537db22b41bae0d2396b30340 (
39
lines) (+
14
/-
25
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Update docs.
15:
//! @ul //! @item //! PostgreSQL network protocol version 3, authentication methods
-
//! currently supported are: cleartext and
MD5
(recommended).
+
//! currently supported are: cleartext
,
md5
and
scram
(recommended).
//! @item //! Streaming queries which do not buffer the whole resultset in memory. //! @item
312:
//! @[reload()], @[resync()] //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final void cancelquery() { PD("CancelRequest\n"); .pgsql_util.conxion lcon = .pgsql_util.conxion(this, 0, 2);
387:
//! @url{http://www.postgresql.org/search/?u=%2Fdocs%2Fcurrent%2F&q=client+connection+search_path@} //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final mapping(string:string) getruntimeparameters() { waitauthready(); return _runtimeparameter+([]);
429:
//! @endmapping //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final mapping(string:mixed) getstatistics() { mapping(string:mixed) stats=([ "warnings_dropped":warningsdropcount,
455:
//! The previous cachedepth. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final int setcachedepth(void|int newdepth) { int olddepth=cachedepth; if(!undefinedp(newdepth) && newdepth>=0)
471:
//! The previous timeout. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final int settimeout(void|int newtimeout) { int oldtimeout=timeout; if(!undefinedp(newtimeout) && newtimeout>0)
487:
//! The previous portalbuffersize. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final int setportalbuffersize(void|int newportalbuffersize) { int oldportalbuffersize=portalbuffersize; if(!undefinedp(newportalbuffersize) && newportalbuffersize>0)
503:
//! The previous fetchlimit. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final int setfetchlimit(void|int newfetchlimit) { int oldfetchlimit=_fetchlimit; if(!undefinedp(newfetchlimit) && newfetchlimit>=0)
1328:
//! terminated instantly. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final void close() { throwdelayederror(this); Thread.MutexKey lock;
1423:
//! @[cancelquery()], @[reload()] //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final void resync() { mixed err; if(is_open()) {
1490:
//! Extra arguments to pass to @ref{notify_cb@}. //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final void set_notify_callback(string condition, void|function(int,string,string,mixed ...:void) notify_cb,void|int selfnotify, mixed ... args) {
1545:
//! @[big_query()], @[quote()] //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
/*semi*/final string quotebinary(string s) { return replace(s, ({ "'", "\\", "\0" }), ({ "''", "\\\\", "\\000" }) ); }
1777:
//! @endstring //! //! @note
-
//! This function is PostgreSQL-specific
, and thus it is not available
-
//! through the generic SQL-interface
.
+
//! This function is PostgreSQL-specific.
final string status_commit() { return trbackendst(backendstatus); }