diff -r 4ff31a4ea1fb -r 408291a6eb3e dbd/postgresql/dbd_postgresql.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbd/postgresql/dbd_postgresql.h Sun Nov 23 01:29:09 2008 +0000 @@ -0,0 +1,22 @@ +#include +#include +#include +#include + +#define IDLEN 18 + +#define DBD_POSTGRESQL_CONNECTION "DBD.PostgreSQL.Connection" +#define DBD_POSTGRESQL_STATEMENT "DBD.PostgreSQL.Statement" + +typedef struct _connection { + PGconn *postgresql; + unsigned int statement_id; +} connection_t; + +typedef struct _statement { + PGconn *postgresql; + PGresult *result; + char name[IDLEN]; + int tuple; +} statement_t; +