Re: Function for dealing with xlog data - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Function for dealing with xlog data
Date
Msg-id 19566.1293550242@sss.pgh.pa.us
Whole thread Raw
In response to Re: Function for dealing with xlog data  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Function for dealing with xlog data  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Magnus Hagander's message of mar dic 28 10:46:31 -0300 2010:
>> Well, yeah, that was obvious ;) The question is, how much do we prefer
>> the more elegant method? ;)

> If we go the new type route, do we need it to have an implicit cast to
> text, for backwards compatibility?

I'd argue not.  Probably all existing uses are just selecting the
function value.  What comes back to the client will just be the text
form anyway.

I'm of the opinion that a new type isn't worth the work, myself,
but it would mostly be up to whoever was doing the work.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Libpq PGRES_COPY_BOTH - version compatibility
Next
From: Joachim Wieland
Date:
Subject: Re: page compression