]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Backpatch fix from HEAD:
authorNeil Conway <neilc@samurai.com>
Wed, 17 Nov 2004 00:18:26 +0000 (00:18 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 17 Nov 2004 00:18:26 +0000 (00:18 +0000)
commitb990232c5d5447194857632522389142fcbb841d
tree20057d949ccfb04c1a73a39d414a9ce40e852cce
parenta2e1b146feebaccd7a4da30f919de1b4efd75b5d
Backpatch fix from HEAD:

Prevent a backend crash when processing CREATE TABLE commands with
more than 65K columns, or when the created table has more than 65K columns
due to adding inherited columns from parent relations. Fix a similar
crash when processing SELECT queries with more than 65K target list
entries. In all three cases we would eventually detect the error and
elog, but the check was being made too late.
src/backend/commands/tablecmds.c
src/backend/parser/analyze.c