From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>
Marc G. Fournier <scrappy@hub.org>
From: "Martin J. Laubach" <mjl@CSlab.tuwien.ac.at>
Subject: [HACKERS] Patch: set date to euro/us postgres/iso/sql
Here a patch that implements a SET date for use by the datetime
stuff. The syntax is
SET date TO 'val[,val,...]'
where val is us (us dates), euro (european dates), postgres,
iso or sql.
Thomas is working on the integration in his datetime module.
I just needed to get the patch out before it went stale :)
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/variable.c | modified | +139 −1 |
| src/backend/utils/adt/datetime.c | modified | +2 −1 |
| src/include/tcop/variable.h | modified | +46 −0 |