pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Matteo Beccati <m.beccati@crpsoftware.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: Timestamp output
Date: Wed, 27 Feb 2002 00:48:04 -0500
Message-ID: <20074.1014788884@sss.pgh.pa.us> (raw)
In-Reply-To: <GNELIHDDFBOCMGBFGEFOOEJBCBAA.chriskl@familyhealth.com.au>
References: <GNELIHDDFBOCMGBFGEFOOEJBCBAA.chriskl@familyhealth.com.au>

"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Hmmm...it seems to me that an easier way is to edit the pg_dump from the
> previous version to add (0) in everywhere.

Well, sure, if you haven't loaded your dump yet.

Note, however, that this does *not* provide a closer approximation to
the behavior of older versions than 7.2 does by default.  Older versions
do support fractional-second timestamps, though only to a couple of
digits IIRC.

The main thing that would be useful to avoid breaking client code that
can't handle fractional-second timestamps is to replace calls to
now() and current_timestamp with current_timestamp(0).

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <20074.1014788884@sss.pgh.pa.us>
Permalink:  ../20074.1014788884@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20074.1014788884@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, chriskl@familyhealth.com.au, m.beccati@crpsoftware.it
  Subject: Re: Timestamp output
  In-Reply-To: <20074.1014788884@sss.pgh.pa.us>

* 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