39fe7f2008-07-26Stephen R. van den Berg /* * Glue for the pgsql-module using SSL */ //! Implements SQL-urls for //! @tt{pgsqls://[user[:password]@@][hostname][:port][/database]@} //! //! Sets the connection to SSL-mode. #pike __REAL_VERSION__ inherit Sql.pgsql; protected void create(void|string _host, void|string _db,
cc0d2d2008-07-27Marcus Comstedt  void|string _user, void|string _pass, void|mapping(string:mixed) _options)
39fe7f2008-07-26Stephen R. van den Berg {
cc0d2d2008-07-27Marcus Comstedt  if(!_options) _options = ([]);
39fe7f2008-07-26Stephen R. van den Berg 
cc0d2d2008-07-27Marcus Comstedt  _options->use_ssl=1;
39fe7f2008-07-26Stephen R. van den Berg  ::create(_host, _db, _user, _pass, _options); }