Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches

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;   - to add the option
globals.c      - to change default definition of the appropriate variable (if necessary) - 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: enable-eurodates-by-default.patch
Description: text/plain (1.5 KB)


pgsql-patches by date

Next:From: Bruce MomjianDate: 2002-03-19 16:17:57
Subject: Re: Adding usernames to pg_hba.conf
Previous:From: Tom LaneDate: 2002-03-19 16:15:22
Subject: Re: Adding usernames to pg_hba.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group