pike.git / lib / modules / Sql.pmod / pgsql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1360:   //! If issued while inside a transaction, it will rollback the transaction,   //! close all open cursors, drop all temporary tables and reset all   //! session variables to their default values.   //!   //! @seealso   //! @[cancelquery()], @[reload()]   //!   //! @note   //! This function is PostgreSQL-specific, and thus it is not available   //! through the generic SQL-interface. - void resync(void|int|object portal) { + void resync() {    mixed err;    if(!is_open()&&!reconnect())    ERROR(a2nls(lastmessage));    err = catch {    PD("Portalsinflight: %d\n",_portalsinflight);    readyforquery_cb=resync_cb;    sendsync();    return;    };    PD("%O\n",err);