Re: Make hba available to client code - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Make hba available to client code
Date
Msg-id 7899.1422479442@sss.pgh.pa.us
Whole thread Raw
In response to Make hba available to client code  (David Fetter <david@fetter.org>)
Responses Re: Make hba available to client code
List pgsql-hackers
David Fetter <david@fetter.org> writes:
> While investigating another project, namely adding pg_hba.conf support
> to pgbouncer, I ran into a stumbling block others probably will, too:
> the hba code is backend-only, which means that if I were to do this
> as-is, I would be cooking a batch of very unappetizing copypasta.

> I'm allergic to copypasta, so unless there are big objections, I'd
> like to export those functions to make hba available to other code.

How exactly would exporting those functions help anything client-side?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: decreasing memory needlessly consumed by array_agg
Next
From: Jim Nasby
Date:
Subject: Re: jsonb, unicode escapes and escaped backslashes