Nspostgres is a project mainly written in C, it's free.
PostgreSQL database driver for AOLserver.
This module implements a simple AOLserver database services driver. A database driver is a module which interfaces between the AOLserver database-independent nsdb module and the API of a particular DBMS. A database driver's job is to open connections, send SQL statements, and translate the results into the form used by nsdb. In this case, the driver is for the PostgreSQL ORDBMS from The PostgreSQL Global Development Group. This is the official driver for the OpenACS project. PostgreSQL can be downloaded and installed on most Unix systems. To use this driver, you must have PostgreSQL installed on your system. For more information on PostgreSQL or to download the code, open:
http://www.postgresql.org
Driver modules look much like ordinary AOLserver modules but are
loaded differently. Instead of being listed with other modules in the
[ns/server/
Contributors to this file include:
Jim Lynch <[email protected]>
Don Baccus <[email protected]>
Lamar Owen <[email protected]>
Jan Wieck <[email protected]>
Keith Pasket (SDL/USU)
Scott Cannon, Jr. (SDL/USU)
Dan Wickstrom <[email protected]>
Scott S. Goodwin <[email protected]>
Original example driver by Jim Davidson
DEVELOPER'S GUIDE:
Run 'make help' for developer information.
See the Makefile for further information on building this module.
Note additions to build system (made in 2007):
make POSTGRES=SEPARATELY PGINC=... PGLIB=... make POSTGRES=PG_CONFIG make POSTGRES=PG_CONFIG PG_CONFIG=/path/to/pg_config
NOTE NOTE NOTE!! As of aolserver-4.5.x, the variable INST is used for a different purpose than it used to be, so DO NOT set it to the installation dir!!