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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsqls.pike:4:      //! Implements SQL-urls for   //! @tt{pgsqls://[user[:password]@@][hostname][:port][/database]@}   //!   //! Sets the connection to SSL-mode, otherwise identical to @[Sql.pgsql].   //!   //! @seealso   //! @[Sql.pgsql], @[Sql.Sql]      #pike __REAL_VERSION__ + #require constant(Sql.pgsql)      inherit Sql.pgsql;      protected void create(void|string _host, void|string _db,    void|string _user, void|string _pass, void|mapping(string:mixed) _options) {    string pass;    pass = _pass; _pass = "CENSORED";    if(pass)    String.secure(pass);    if(!_options)    _options = ([]);       _options->use_ssl=1;       ::create(_host, _db, _user, pass, _options);   }