Re: proposal - custom format for date, timestamp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal - custom format for date, timestamp
Date: 2010-06-02 14:26:53
Message-ID: 23004.1275488813@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I thinking about request on custom datetime format. My first idea is:

> a) add new datestyle format "custom"
> b) add new GUC variables - custom_date_format, custom_time_format,
> custom_timestamp_format

Ick. Why not just put them in one variable.
datestyle = 'custom yyyy mm dd'
Interrelated GUCs are really painful.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-06-02 14:31:40 Re: Synchronization levels in SR
Previous Message Fujii Masao 2010-06-02 13:24:30 Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby