pgsql: Add transform functions for various temporal typmod coercisions. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Add transform functions for various temporal typmod coercisions.
Date
Msg-id E1Rv8b2-00036B-U3@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Rename LWLockWaitUntilFree to LWLockAcquireOrWait.
Next
From: Tom Lane
Date:
Subject: pgsql: Mark some more I/O-conversion-invoking functions as stable not v