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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:225:   //! server doesn't respond, if the database doesn't exist or is not   //! accessible by you.   //!   //! @seealso   //! @[Postgres.postgres], @[Sql.Sql], @[select_db()],   //! @url{http://www.postgresql.org/search/?u=%2Fdocs%2Fcurrent%2F&q=client+connection+defaults@}   protected void create(void|string host, void|string database,    void|string user, void|string pass,    void|mapping(string:mixed) options)   { -  this_program::pass = pass; +  this::pass = pass;    if(pass)    {    String.secure(pass);    pass = "CENSORED";    } -  this_program::user = user; -  this_program::database = database; -  this_program::options = options || ([]); +  this::user = user; +  this::database = database; +  this::options = options || ([]);       if(!host) host = PGSQL_DEFAULT_HOST;    if(has_value(host,":") && sscanf(host,"%s:%d",host,port)!=2)    ERROR("Error in parsing the hostname argument\n"); -  this_program::host = host; +  this::host = host;       if(!port)    port = PGSQL_DEFAULT_PORT;    _runtimeparameter=([]);    _querymutex=Thread.Mutex();    _stealmutex=Thread.Mutex();    reconnect();   }      //! @returns