pike.git/
lib/
modules/
Sql.pmod/
pgsql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2017-07-02
2017-07-02 00:07:31 by Stephen R. van den Berg <srb@cuci.nl>
b7ae0ebe3385a3006fe82aef62fcb699c825dbda (
13
lines) (+
8
/-
5
)
[
Show
|
Annotate
]
Branch:
8.1
pgsql: Suppress errors if the server gets lost.
5:
//! This is an interface to the PostgreSQL database //! server. This module is independent of any external libraries. //! Note that you @b{do not@} need to have a
-
//! PostgreSQL server running on
your
host to use this module: you can
-
//! connect to the database over a TCP/IP socket.
+
//! PostgreSQL server running on
@b{your@}
host to use this module: you can
+
//! connect to the database over a TCP/IP socket
on a different host
.
//! //! This module replaces the functionality of the older @[Sql.postgres] //! and @[Postgres.postgres] modules.
1196:
} }; // We only get here if there is an error if(err==MAGICTERMINATE) { // Announce connection termination to server
+
catch {
object cs = ci->start(); CHAIN(cs)->add("X\0\0\0\4"); cs->sendcmd(SENDOUT);
-
+
};
terminating=1; err=0; } else if(stringp(err)) {