]> granicus.if.org Git - postgresql/commit
Add transform functions for various temporal typmod coercisions.
authorRobert Haas <rhaas@postgresql.org>
Wed, 8 Feb 2012 14:33:02 +0000 (09:33 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 8 Feb 2012 14:33:37 +0000 (09:33 -0500)
commitc13897983a0006e658fb7c6410d72ca59fb87136
tree4e228cac44cab1c1e80173511578ff248346a204
parent1a01560cbb78ff363fc7d70298328aa23f05bfb5
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.
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/timestamp.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/date.h
src/include/utils/datetime.h
src/include/utils/timestamp.h