aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xloginsert.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-03-04 20:23:13 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-03-04 20:23:13 -0500
commit7f3014dce56c7975113809f2ff5e92cf7c1563a3 (patch)
tree2491223338ee9953f039a76fda6379b3e27c52d0 /src/backend/access/transam/xloginsert.c
parent45f2c2fc4e4adcf75cd689e18dab77ebe622fc2e (diff)
downloadpostgresql-7f3014dce56c7975113809f2ff5e92cf7c1563a3.tar.gz
postgresql-7f3014dce56c7975113809f2ff5e92cf7c1563a3.zip
Change plpgsql's cast cache to consider source typmod as significant.
I had thought that there was no need to maintain separate cache entries for different source typmods, but further experimentation shows that there is an advantage to doing so in some cases. In particular, if a domain has a typmod (say, "CREATE DOMAIN d AS numeric(20,0)"), failing to notice the source typmod leads to applying a length-coercion step even when the source has the correct typmod.
Diffstat (limited to 'src/backend/access/transam/xloginsert.c')
0 files changed, 0 insertions, 0 deletions