pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dana Burd <djburd@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16797: EXTRACT(EPOCH FROM timestamp) is not using local timezone
Date: Fri, 01 Jan 2021 15:54:20 -0500
Message-ID: <2536619.1609534460@sss.pgh.pa.us> (raw)
In-Reply-To: <CADYUPHMsqBMY_-+=ssJMgjQ=VQG=Zjm3Jvmq4Y5EFXZcCSPbKg@mail.gmail.com>
References: <16797-f264b0b980b53b8b@postgresql.org>
	<2396654.1609354902@sss.pgh.pa.us>
	<CADYUPHNmh120OVhgkr897+SAyHdPm8=nj+mnwcY9d-fyWMJLSw@mail.gmail.com>
	<2405485.1609363754@sss.pgh.pa.us>
	<CADYUPHOhiP0R7BbFwepsfsuD+d0B3jH4zkAZjOogzGtuR_dg9Q@mail.gmail.com>
	<2527205.1609521492@sss.pgh.pa.us>
	<CADYUPHMsqBMY_-+=ssJMgjQ=VQG=Zjm3Jvmq4Y5EFXZcCSPbKg@mail.gmail.com>

Dana Burd <djburd@gmail.com> writes:
> On Fri, Jan 1, 2021 at 12:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Perhaps a better phrasing is "for date and timestamp values, the nominal
>> number of seconds since 1970-01-01 00:00:00, without regard to timezone
>> or daylight-savings rules".

> That phrasing makes sense.

Sounds good, done here:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=4d3f03f42227bb351c2021a9ccea2fff9...

Also see

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=319f4d54e82d15d4a0c3f4cc1328c40db...

			regards, tom lane





view thread (8+ messages)

Message-ID: <2536619.1609534460@sss.pgh.pa.us>
Permalink:  ../2536619.1609534460@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2536619.1609534460@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, djburd@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16797: EXTRACT(EPOCH FROM timestamp) is not using local timezone
  In-Reply-To: <2536619.1609534460@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox