diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-11 20:21:11 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-11 20:21:11 +0000 |
commit | c2caa7b73622fd70e76761696725ebf1c03f5cc0 (patch) | |
tree | de0e16cebe501ab2da121bc57a31e12cf46d4d7c /src/backend/executor | |
parent | 97fc0f6e831392b2701d34f700d028c436b96fab (diff) | |
download | postgresql-c2caa7b73622fd70e76761696725ebf1c03f5cc0.tar.gz postgresql-c2caa7b73622fd70e76761696725ebf1c03f5cc0.zip |
Repair incorrect check for coercion of unknown literal to ANYARRAY, a bug
I introduced in 7.4.1 :-(. It's correct to allow unknown to be coerced to
ANY or ANYELEMENT, since it's a real-enough data type, but it most certainly
isn't an array datatype. This can cause a backend crash but AFAICT is not
exploitable as a security hole. Per report from Michael Fuhr.
Note: as fixed in HEAD, this changes a constant in the pg_stats view,
resulting in a change in the expected regression outputs. The back-branch
patches have been hacked to avoid that, so that pre-existing installations
won't start failing their regression tests.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions