Re: should we add a XLogRecPtr/LSN SQL type? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: should we add a XLogRecPtr/LSN SQL type?
Date
Msg-id 18722.1386867351@sss.pgh.pa.us
Whole thread Raw
In response to Re: should we add a XLogRecPtr/LSN SQL type?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: should we add a XLogRecPtr/LSN SQL type?
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Robert Haas escribi�:
>> I am happy to have my old patch resurrected - could become a trend.
>> But someone should probably go back and check who objected and for
>> what reasons.

> Here it is FWIW:
> http://www.postgresql.org/message-id/flat/CA+TgmoZRMNN0eVEsD-kxB9e-MvdmwoTi6guuJUvQP_8q2C5Cyg@mail.gmail.com

AFAICS the objections were "why bother with a datatype for just one
function".  If we've now got multiple use-cases, that loses its force.

I'm not, however, terribly thrilled with the suggestions to add implicit
casts associated with this type.  Implicit casts are generally dangerous.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: GIN improvements part 1: additional information
Next
From: Jeff Janes
Date:
Subject: Re: ANALYZE sampling is too good