Eurodates by default

From: Yury Bokhoncovich <byg(at)center-f1(dot)ru>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Eurodates by default
Date: 2002-03-19 16:17:55
Message-ID: Pine.LNX.4.33.0203192205150.5338-200000@panda.center-f1.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Hello!

The patch adds a configure option which enables using eurodates in PgSQL
by default (i.e. as if -e option of backend was given).
The patch allows to get rid unconvenient -o'e' option for postmaster.

IMHO this is pretty convenient for people like me whom
likes POSTGRES-like date output (DD-MM-YYYY) but cannot afford American
MM-DD-YY format.

The patch touches 3 files;
configure.in - to add the option
globals.c - to change default definition of the appropriate variable (if necessary)
pg_config.h.in - to define the respective compile-time constant

if there is an interest, I could try to add similar global variable
to guc.c (for use in postgresql.conf).

--
WBR, Yury Bokhoncovich, Senior System Administrator, NOC of F1 Group.
Phone: +7 (3832) 106228, ext.140, E-mail: byg(at)center-f1(dot)ru(dot)
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.

Attachment Content-Type Size
enable-eurodates-by-default.patch text/plain 1.5 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-03-19 16:17:57 Re: Adding usernames to pg_hba.conf
Previous Message Tom Lane 2002-03-19 16:15:22 Re: Adding usernames to pg_hba.conf