summaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-19 18:10:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-19 18:10:56 +0000
commitf5c496b7f55fbe054d299cdbbac225bfdd47c848 (patch)
tree0b07e7c34f62388ee810a31f6ca3652eaffcacfb /src/backend/utils
parent3d7feba4b36d67d5fd21231c43524de2ec33fbef (diff)
Keep exec_simple_check_plan() from thinking "SELECT foo INTO bar" is simple.
It's not clear if this situation can occur in plpgsql other than via the EXECUTE USING case Heikki illustrated, which I will shortly close off. However, ignoring the intoClause if it's there is surely wrong, so let's patch it for safety. Backpatch to 8.3, which is as far back as this code has a PlannedStmt to deal with. There might be another way to make an equivalent test before that, but since this is just preventing hypothetical bugs, I'm not going to obsess about it.
Diffstat (limited to 'src/backend/utils')
0 files changed, 0 insertions, 0 deletions