diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-06-21 22:15:24 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-06-21 22:21:24 -0400 |
commit | 8f9fe6edce358f7904e0db119416b4d1080a83aa (patch) | |
tree | a0a828d221e85af6c6bf5bc74a6c6c7190352cbf /src/backend/parser/parse_utilcmd.c | |
parent | 771a9f69f70e0b4fa95347df7ab346e5bdbc85f2 (diff) | |
download | postgresql-8f9fe6edce358f7904e0db119416b4d1080a83aa.tar.gz postgresql-8f9fe6edce358f7904e0db119416b4d1080a83aa.zip |
Add notion of a "transform function" that can simplify function calls.
Initially, we use this only to eliminate calls to the varchar()
function in cases where the length is not being reduced and, therefore,
the function call is equivalent to a RelabelType operation. The most
significant effect of this is that we can avoid a table rewrite when
changing a varchar(X) column to a varchar(Y) column, where Y > X.
Noah Misch, reviewed by me and Alexey Klyukin
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions