[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tpop3d-discuss]Database connection
From: |
ohp |
Subject: |
Re: [tpop3d-discuss]Database connection |
Date: |
Wed, 30 Nov 2005 18:08:11 +0100 (MET) |
On Wed, 30 Nov 2005, Daniel Tiefnig wrote:
> Date: Wed, 30 Nov 2005 17:33:32 +0100
> From: Daniel Tiefnig <address@hidden>
> To: address@hidden
> Subject: Re: [tpop3d-discuss]Database connection
>
> address@hidden wrote:
> > 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.
>
> Well, I don't know why you are calling auth_pgsql_init() anyway.
> Shouldn't a simple PQreset(pg_conn); - like you do it the first time -
> be sufficient? auth_pgsql_init() just reads in the config (besides
> connecting to the DB) and we don't need to do this.
My understanding is that auth_pgsql_init has to be called at drivers init
time to save the parametrized queries.
Of course, I could wipe db connection off and put it in an other function,
but that would mean a second pace to read conf file..
will see...
>
> > I'll come up with a better patch if it's acepted.
>
> Sure.
>
>
> lg,
> daniel
>
> _______________________________________________
> tpop3d-discuss mailing list
> address@hidden
> 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: address@hidden
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)
- [tpop3d-discuss]Database connection, ohp, 2005/11/30
- Re: [tpop3d-discuss]Database connection, Daniel Tiefnig, 2005/11/30
- Re: [tpop3d-discuss]Database connection, ohp, 2005/11/30
- Re: [tpop3d-discuss]Database connection, Daniel Tiefnig, 2005/11/30
- Re: [tpop3d-discuss]Database connection, ohp, 2005/11/30
- Re: [tpop3d-discuss]Database connection, Daniel Tiefnig, 2005/11/30
- Re: [tpop3d-discuss]Database connection,
ohp <=
- Re: [tpop3d-discuss]Database connection, Daniel Tiefnig, 2005/11/30
- Re: [tpop3d-discuss]Database connection, ohp, 2005/11/30