Re: Exporting more function in libpq - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Exporting more function in libpq
Date
Msg-id 17078.1471915799@sss.pgh.pa.us
Whole thread Raw
In response to Re: Exporting more function in libpq  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Craig Ringer wrote:
>> Shouldn't that generally be done by extending libpq to add the required
>> functionality?

> The thought that came to me was that maybe we need a separate library
> that handles the lower level operations (a "fe/be" library, if you will)
> which can be exported for others to use and is used by libpq to
> implement the slightly-higher-level functionality.

If you wanted a library that exposed something close to the wire-level
protocol, I do not think that tearing out some of the oldest and cruftiest
parts of libpq and exposing them verbatim is really the best way to go
about it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Forbid use of LF and CR characters in database and role names
Next
From: Peter Geoghegan
Date:
Subject: Re: Forbid use of LF and CR characters in database and role names