From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add transform functions for various temporal typmod coercisions. |
Date: | 2012-02-08 14:34:08 |
Message-ID: | E1Rv8b2-00036B-U3@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add transform functions for various temporal typmod coercisions.
This enables ALTER TABLE to skip table and index rebuilds in some cases.
Noah Misch, with trivial changes by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c13897983a0006e658fb7c6410d72ca59fb87136
Modified Files
--------------
src/backend/utils/adt/date.c | 11 +++++
src/backend/utils/adt/datetime.c | 35 +++++++++++++++
src/backend/utils/adt/timestamp.c | 86 +++++++++++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 16 +++++--
src/include/utils/date.h | 1 +
src/include/utils/datetime.h | 3 +
src/include/utils/timestamp.h | 2 +
8 files changed, 150 insertions(+), 6 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2012-02-08 16:29:43 | pgsql: Mark some more I/O-conversion-invoking functions as stable not v |
Previous Message | Heikki Linnakangas | 2012-02-08 07:26:14 | pgsql: Rename LWLockWaitUntilFree to LWLockAcquireOrWait. |