Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Jun 14, 2009 at 11:28 AM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
>> However, using BuildTupleFromCStrings is wasteful/stupid for *both*
>> text and xml output, so it seems like getting rid of it is the thing
>> to do here.
> Makes sense. However, if we just make that change in do_tup_output(),
> then we'll break the ability to use that function for non-text
> datatypes.
I'd envision it taking Datums, so it doesn't really matter. However,
as you say, specializing it to text only wouldn't be much of a loss.
regards, tom lane