Hi:

I guess its imposible to use sqlbox with pgsql, because the module of pgsql its not complete.

Ok..

If you have problem with sqlbox and postgresql, you need (I guess) to patch the sqlbox_sql.c

Well, I think the init of connection to database never can't be, because always return the first condition.

Anybody use sqlbox with postgresql.. ???

cat sqlbox_sql.c
#define sqlbox_sql_c
#include "sqlbox_sql.h"

struct server_type *sqlbox_init_sql(Cfg *cfg)
{
       struct server_type *res = NULL;
/* Here you need to comment
#ifdef HAVE_MYSQL
       res = (struct server_type *)sqlbox_init_mysql(cfg);
       if (res) {
               return res;
       }
#endif
End to comment*/
#ifdef HAVE_PGSQL
       res = (struct server_type *)sqlbox_init_pgsql(cfg);
       if (res) {
               return res;
       }
#endif
       return res;
}


--
Jean-Claude Adams
Encargado de Sistemas
PICO S.A.CI.
Tel. +595 21 665052
Cel. +595 981 833415
email: [EMAIL PROTECTED]

Reply via email to