Re: pg_hba.conf && ident ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_hba.conf && ident ...
Date
Msg-id 18796.957977029@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_hba.conf && ident ...  (Malcolm Beattie <mbeattie@sable.ox.ac.uk>)
List pgsql-hackers
Malcolm Beattie <mbeattie@sable.ox.ac.uk> writes:
> It looks like the whole pg_hba thing isn't really designed to be
> asynchronous or event-driven.

Nope, the module would need a pretty thorough rewrite ...

> A cheap and cheerful fix would be to
> replace the blocking connect/send/recv in ident() in hba.c with
> foo_timeout ones (for foo one of connect/send/recv).

That was what I was thinking too, unless we find a volunteer to do
the bigger job.  I don't particularly care to spend that much time
on this problem myself.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: MD5
Next
From: The Hermit Hacker
Date:
Subject: Re: Great, big errors ... Again.