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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:203:   //!   //! @note   //! The string returned is not newline-terminated.   //!   //! @param clear   //! To clear the error, set it to @expr{1@}.   //!   //! @seealso   //! @[big_query()]   /*semi*/final string error(void|int clear) { -  throwdelayederror(this); +  throwdelayederror(proxy);    return proxy.geterror(clear);   }      //! This function returns a string describing what host are we talking to,   //! and how (TCP/IP or UNIX socket).   //!   //! @seealso   //! @[server_info()]   /*semi*/final string host_info() {    return proxy.host_info();
pike.git/lib/modules/Sql.pmod/pgsql.pike:1020:   //! be viewed as a limited protection against SQL-injection attacks.   //! To make it support multiple queries in one querystring, use the   //! @ref{:_text@} option (not recommended).   //!   //! @seealso   //! @[big_typed_query()], @[Sql.Sql], @[Sql.sql_result],   //! @[query()], @[Sql.pgsql_util.sql_result]   /*semi*/final .pgsql_util.sql_result big_query(string q,    void|mapping(string|int:mixed) bindings,    void|int _alltyped) { -  throwdelayederror(this); +  throwdelayederror(proxy);    string preparedname = "";    mapping(string:mixed) options = proxy.options;    .pgsql_util.conxion c = proxy.c;    int forcecache = -1, forcetext = options.text_query;    int syncparse = zero_type(options.sync_parse)    ? -1 : options.sync_parse;    if (proxy.waitforauthready)    waitauthready();    string cenc = proxy.runtimeparameter[CLIENT_ENCODING];    switch(cenc) {