pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maillist <maillist@tnss.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: time zone on timestamp fields
Date: Thu, 31 Jul 2003 21:41:30 -0500
Message-ID: <3F29D35A.7726F6D4@tnss.com> (raw)

Ok me dumb, I've spend copple days editing my table definintions from
Dlm     DATETIME NOT NULL DEFAULT TEXT 'now'
Dlm = date time last modified to
Dlm     timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP

which from my previous post I was told should be
Dlm     timestamptz NOT NULL DEFAULT CURRENT_TIMESTAMP

now some where along the line I expect to get asked what time zone, and
I don't want my stupid programs to have to me time zone aware,  Back in
the good ol days I could use someting like cst5cdt, but I don't think
that will work any more. and since the postgres programers who I am
grateful to, don't want to code this politicly controled stuff either,
their documentation reflects this. and realy this makes no difference to
me either except in one one in october from 2:00 am to 2:00 am. But
before I go back and change the 100 so table defenitions again, and
change the ones I haven't made it to yet could  someone please give me a
quick and dirty explaination as to what I should change it to, and If
you want to elaberate on why, I'll consider it a plus.

    Thanks in advance
    Arno




view thread (3+ messages)

Message-ID: <3F29D35A.7726F6D4@tnss.com>
Permalink:  ../3F29D35A.7726F6D4@tnss.com/
Also on:    postgresql.org/message-id/3F29D35A.7726F6D4@tnss.com

 · 

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-admin@postgresql.org
  Cc: maillist@tnss.com
  Subject: Re: time zone on timestamp fields
  In-Reply-To: <3F29D35A.7726F6D4@tnss.com>
  References: <3F29D35A.7726F6D4@tnss.com>

* 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