setting PGDATESTYLE

From: Stephan Richter <srichter(at)cbu(dot)edu>
To: PostGreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: setting PGDATESTYLE
Date: 2001-06-05 20:49:32
Message-ID: 5.0.2.1.0.20010605154510.00a5c020@mail.cbu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello everyone,

as far as I know, the default DATESTYLE for PostGreSQL is ISO, but my
application (Zope DateTime.py module) is only able to parse the SQL output
of the DATESTYLE. Currently, I make a small entry in the postgresql startup
script, which changes the style forma.

BUT, this gets annoying, since the startup scripts vary for the different
OSs. So here my question: Is there any other way of globally changing the
DATESTYLE to SQL (at compile time or DB creation time)?

Any hints are very much appreciated.

Regards,
Stephan

--
Stephan Richter
CBU - Physics and Chemistry Student
Web2k - Web Design/Development & Technical Project Management

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2001-06-05 20:50:16 Re: Now what?
Previous Message Lamar Owen 2001-06-05 20:46:32 Re: Now what?