Re: libpq support for arrays and composites - Mailing list pgsql-hackers

From Tom Lane
Subject Re: libpq support for arrays and composites
Date
Msg-id 5994.1212994815@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq support for arrays and composites  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Lastly, the idea is to provide extra facilities to libpq clients
> without requiring any extra library.

Or more to the point, without requiring boatloads of new code that
only some libpq users would have any use for.

To my mind, the point of the present proposal is to provide some
client-side code that understands how to invert the data
formatting/escaping rules implemented by array_out, record_out,
and perhaps array_in/record_in.  We can make that happen without
taking a quantum jump in libpq's API complexity --- and offhand
it seems that Andrew D's proposal is at about the right level of
complication.  libpqtypes has its place also, but I think it's
addressing a different level of problem complexity.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: libpq support for arrays and composites
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Automating our version-stamping a bit better