Re: Yet Another Timestamp Question: Time Defaults - Mailing list pgsql-general

From Jasen Betts
Subject Re: Yet Another Timestamp Question: Time Defaults
Date
Msg-id ke2uv1$oue$2@gonzo.reversiblemaps.ath.cx
Whole thread Raw
In response to Yet Another Timestamp Question: Time Defaults  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 2013-01-21, Rich Shepard <rshepard@appl-ecosys.com> wrote:
>    What is the behavior if a column data type is timestamptz but there is
> only the date portion available? There must be a default time; can that be
> defined?

No, if you don't specify the time 00:00 (midnight) is used.
if you don't specify a timezone it's local midnight, so viewed from
a neighbouring timezone it could be 1AM or 11pm the previous day.


--
⚂⚃ 100% natural

pgsql-general by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Running update in chunks?
Next
From: Jasen Betts
Date:
Subject: Re: Yet Another Timestamp Question: Time Defaults