Eurodates by default - Mailing list pgsql-patches

From Yury Bokhoncovich
Subject Eurodates by default
Date
Msg-id Pine.LNX.4.33.0203192205150.5338-200000@panda.center-f1.ru
Whole thread Raw
Responses Re: Eurodates by default  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@center-f1.ru.
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.


Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Adding usernames to pg_hba.conf
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Fixes gram.y