Branch: Tag:

2008-07-26

2008-07-26 18:31:21 by Stephen R. van den Berg <srb@cuci.nl>

PGsql avoid xrealloc, include SSL support, small bugfixes

Rev: CHANGES:1.122
Rev: lib/modules/Sql.pmod/pgsql.pike:1.12
Rev: lib/modules/Sql.pmod/pgsqls.pike:1.1
Rev: src/modules/_PGsql/PGsql.cmod:1.11

1: + /* +  * 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, +  void|string _user, void|string _pass, void|mapping(string:mixed) _options) { + { +  If(!options) +  options = ([]); +  +  options->use_ssl=1; +  +  ::create(_host, _db, _user, _pass, _options); + }   Newline at end of file added.