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

From Tom Lane
Subject Re: patch: make_timestamp function
Date
Msg-id 574.1386963314@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: make_timestamp function  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: patch: make_timestamp function
Re: patch: make_timestamp function
List pgsql-hackers
Fabrízio de Royes Mello <fabriziomello@gmail.com> writes:
> I think the goal of the "make_date/time/timestamp" function series is build
> a date/time/timestamp from scratch, so the use of 'make_timestamptz' is to
> build a specific timestamp with timezone and don't convert it.

Yeah; we don't really want to incur an extra timezone rotation just to get
to a timestamptz.  However, it's not clear to me if make_timestamptz()
needs to have an explicit zone parameter or not.  It could just assume
that you meant the active timezone.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extension Templates S03E11
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: patch: make_timestamp function