Hi Norm,

in the openser DB interface, the DB type is actually defined by the DB module to be used. So if starts with "mysql://" it will try to load mysql....So you cannot change from postgres to pgsql because the openser module is named postgres and not pqsql.

regards,
bogdan

Norman Brandinger wrote:

I'm more confused now, is this a bug ?

Replaced postgres:// with pgsql:// and upon startup the following errors were thrown:

openser[8609]: bind_dbmod: Module pgsql does not export db_use_table function openser[8609]: ERROR: uridb_db_bind: unable to bind to the database module
openser[8609]: ERROR: uri_db:mod_init(): No database module found
openser[8609]: init_mod(): Error while initializing module uri_db

The system is running postgresql-8.1

Regards,
Norm

[EMAIL PROTECTED] wrote:

On Fri, 14 Jul 2006, Norman Brandinger wrote:

I would like to suggest that the DBENGINE=PGSQL be replaced with
POSTGRES in the new openserctlrc configuration file.

The reason for this is that within the OpenSER configuration file,
module parameters can be specified as below:

for MySQL: mysql:// and for Postgres: postgres://

Sounds like this should be changed to pgsql://

Canonical short name for postgresql is pgsql.

Postgres (without SQL) is a predecessor to postgresql.
NOT: pgsql://

Since I've only recently started using Postgres, the above caused some additional confusion that may have otherwise been avoided.

Comments or suggestions are always welcome.

Regards,
Norm



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel









_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel



_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to