date format

From: David Rysdam <drysdam(at)ll(dot)mit(dot)edu>
To: "pg >> Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: date format
Date: 2005-12-08 17:44:31
Message-ID: 439870FF.4080002@ll.mit.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I could swear (but I don't think I can prove at this point) that 8.0
beta3 returned timestamps with milliseconds, like this:

YYYY-MM-DD HH24:MI:SS.MS

But 8.1 isn't doing that. I see functions to format the date, but that
would require me to change all my existing SQL to specifically ask for
the milliseconds. There's also the "set datestyle" thing, but the
granularity doesn't exist to specify an exact format such as the above.
Is there a way to tell postgres *exactly* what I want the *default* date
output format to be?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Rysdam 2005-12-08 18:02:40 Re: date format
Previous Message Scott Marlowe 2005-12-08 17:27:58 Re: Multi-Master-Solution (PGCluster)?