pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Paul McGarry <paul@paulmcgarry.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: How to get timezone offset in timestamp with time zone AT TIME ZONE output.
Date: Tue, 24 Sep 2019 03:40:12 +0100
Message-ID: <87impio1tf.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <dd0f5c95-08e0-f198-b59a-704377ccdcf7@aklaver.com>
References: <CAPrE0SYkp12Gd2Y0NVxTwvp_EpMymDa=i_vVQ3EZD11MOSJTRQ@mail.gmail.com>
	<dd0f5c95-08e0-f198-b59a-704377ccdcf7@aklaver.com>

>>>>> "Adrian" == Adrian Klaver <adrian.klaver@aklaver.com> writes:

 Adrian> This has come up before and the general suggestion has been to
 Adrian> have a column for a naive(timestamp w/o tz) timestamp and a
 Adrian> column for the timezone.

No, that's usually (not always) backwards, and in any event wouldn't
solve this particular issue.

-- 
Andrew (irc:RhodiumToad)





view thread (9+ messages)  latest in thread

Message-ID: <87impio1tf.fsf@news-spur.riddles.org.uk>
Permalink:  ../87impio1tf.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87impio1tf.fsf@news-spur.riddles.org.uk

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, adrian.klaver@aklaver.com, paul@paulmcgarry.com
  Subject: Re: How to get timezone offset in timestamp with time zone AT TIME ZONE output.
  In-Reply-To: <87impio1tf.fsf@news-spur.riddles.org.uk>
  References: <CAPrE0SYkp12Gd2Y0NVxTwvp_EpMymDa=i_vVQ3EZD11MOSJTRQ@mail.gmail.com> <dd0f5c95-08e0-f198-b59a-704377ccdcf7@aklaver.com> <87impio1tf.fsf@news-spur.riddles.org.uk>

* 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