Re: patch: make_timestamp function - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: patch: make_timestamp function
Date
Msg-id CAFj8pRAAVsGVWVLVPQFSzuhUniYyvSXLR-CT-Am=5y4QNfUT5w@mail.gmail.com
Whole thread Raw
In response to Re: patch: make_timestamp function  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: patch: make_timestamp function
List pgsql-hackers



2013/12/17 Tom Lane <tgl@sss.pgh.pa.us>
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Yeah, I think a constructor should allow a text timezone.

Yes.  I think a numeric timezone parameter is about 99% useless,
and if you do happen to need that behavior you can just cast the
numeric to text no?

yes, it is possible. Although fully numeric API is much more consistent.

Pavel
 

                        regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch: make_timestamp function
Next
From: Robert Haas
Date:
Subject: Re: shared memory message queues