pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Jesse Scott <scotje@wwc.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Timezone troubles
Date: Wed, 13 Aug 2003 21:12:44 -0700
Message-ID: <200308132112.44171.josh@agliodbs.com> (raw)
In-Reply-To: <3F3B001B.8060506@wwc.edu>
References: <3F3B001B.8060506@wwc.edu>

Jesse,

> Here is the data definition and the query (version is 7.2.3 btw):
<snip>
>   lastlogin timestamp DEFAULT 'now',
>   firstlogin timestamp,

In 7.2.x, unless you declare a timestamp as "TIMESTAMP WITHOUT TIME ZONE", it 
is automatically created as *with* time zone.   I think this may be your 
problem.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (6+ messages)  latest in thread

Message-ID: <200308132112.44171.josh@agliodbs.com>
Permalink:  ../200308132112.44171.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200308132112.44171.josh@agliodbs.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, scotje@wwc.edu
  Subject: Re: Timezone troubles
  In-Reply-To: <200308132112.44171.josh@agliodbs.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