pike.git
/
lib
/
modules
/
Sql.pmod
/
pgsql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/pgsql.pike:485:
//! For PostgreSQL this function performs the same function as @[resync()]. //! //! @seealso //! @[resync()], @[cancelquery()] /*semi*/final void reload() { resync(); } private void reset_dbsession() {
+
proxy.statementsinflight->wait_till_drained();
+
proxy.delayederror = 0;
+
error(1);
big_query("ROLLBACK"); big_query("RESET ALL"); big_query("CLOSE ALL"); big_query("DISCARD TEMP"); } private void resync_cb() { switch (proxy.backendstatus) { case 'T':case 'E': foreach (proxy.prepareds; ; mapping tp) {