[tpop3d-discuss]Database connection

ohp@pyrenet.fr ohp at pyrenet.fr
Wed, 30 Nov 2005 17:17:13 +0100 (MET)


That's not perfect though!
I'm struggling with auth_pgsql_init to return trus the first time even if
connection cannot be made otherwise the system doesn't work.

I ended up (for now) with an ugly hack (renaming auth_pgsql_init to
auth_pgsql_init_real) and having auth_pgsql_init call that and return
true.

Otherwise, parameters (queries) don't get defined.

It's working but for some reason, pqreset or pqstatus is not doing it's
job.

I'll come up with a better patch if it's acepted.

Regards
 On Wed, 30 Nov 2005, Daniel Tiefnig wrote:

> Date: Wed, 30 Nov 2005 16:54:45 +0100
> From: Daniel Tiefnig <tpop3d@inode.at>
> To: tpop3d-discuss@lists.beasts.org
> Subject: Re: [tpop3d-discuss]Database connection
>
> ohp@pyrenet.fr wrote:
> > Many thanks Daniel for your help
> > Attachedc is the patch I made that seems to work quit well
> > Hope it helps.
>
> Many thanks to you. I'm sure with some changes this will get into CVS
> maybe after Chris released 1.6.0.
>
>
> lg,
> daniel
>
> _______________________________________________
> tpop3d-discuss mailing list
> tpop3d-discuss@lists.beasts.org
> http://lists.beasts.org/mailman/listinfo/tpop3d-discuss
>
>

-- 
Olivier PRENANT        	        Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)