public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Mike Elston <[email protected]>
Cc: [email protected]
Subject: Re: Specified date type but created column is timestamp without time zone
Date: Sat, 06 Nov 2021 15:31:18 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAvyBqHCrx2z4EUhSHYRNCvAj2b82=fNcmAdhCj_r3tuM_qL7w@mail.gmail.com>
References: <CAAvyBqHCrx2z4EUhSHYRNCvAj2b82=fNcmAdhCj_r3tuM_qL7w@mail.gmail.com>

Mike Elston <[email protected]> writes:
> I created a table containing a column of type "date" but the
> describe command reports that the created column is "timestamp without time
> zone". Why isn't it simply "date"?

> psql (EnterpriseDB) 13.4.8

If you're using EDB, their server is hacked in a lot of ways to act
more like Oracle, and I think this discrepancy is one of them.
Oracle's idea of "date" corresponds more or less to our "timestamp",
so they translate.

			regards, tom lane





view thread (2+ messages)

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Specified date type but created column is timestamp without time zone
  In-Reply-To: <[email protected]>

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

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