aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-10-11 20:21:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-10-11 20:21:19 +0000
commitdc167085f3e4eb129e82dfe17f95dc42997c997a (patch)
tree60fa27d88c51248ad181e13ab33a1bfd6d0841b0 /src/backend/executor/nodeSort.c
parent8608aa953475e58899d630d1bea6beb9a3a370f4 (diff)
downloadpostgresql-dc167085f3e4eb129e82dfe17f95dc42997c997a.tar.gz
postgresql-dc167085f3e4eb129e82dfe17f95dc42997c997a.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/nodeSort.c')
0 files changed, 0 insertions, 0 deletions