git.postgresql.org Git - postgresql.git/commit
Thu, 5 Mar 2015 01:23:13 +0000 (20:23 -0500)
Thu, 5 Mar 2015 01:23:13 +0000 (20:23 -0500)
commit 7f3014dce56c7975113809f2ff5e92cf7c1563a3
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.
This is the main PostgreSQL git repository.
RSS
Atom