tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss]Database connection


From: Daniel Tiefnig
Subject: Re: [tpop3d-discuss]Database connection
Date: Wed, 30 Nov 2005 17:33:32 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051010)

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.

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

Sure.


lg,
daniel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]