aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-03-01 13:22:34 -0500
committerNoah Misch <noah@leadboat.com>2015-03-01 13:22:34 -0500
commitb8a18ad4850ea5ad7884aa6ab731fd392e73b4ad (patch)
treecc80b7675d5c984cde35b7c32bca93b3d7f7e36e /src/backend/commands/functioncmds.c
parent424793fa5dc631254f69d5ee8d7d7d6de2976f60 (diff)
downloadpostgresql-b8a18ad4850ea5ad7884aa6ab731fd392e73b4ad.tar.gz
postgresql-b8a18ad4850ea5ad7884aa6ab731fd392e73b4ad.zip
Add transform functions for AT TIME ZONE.
This makes "ALTER TABLE tabname ALTER tscol TYPE ... USING tscol AT TIME ZONE 'UTC'" skip rewriting the table when altering from "timestamp" to "timestamptz" or vice versa. While it would be nicer still to optimize this in the absence of the USING clause given timezone==UTC, transform functions must consult IMMUTABLE facts only.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions