Re: proposal - custom format for date, timestamp

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-06-02T14:26:53Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.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