From: | neilc(at)svr1(dot)postgresql(dot)org (Neil Conway) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Prevent a backend crash when processing CREATE TABLE commands |
Date: | 2004-11-16 23:34:30 |
Message-ID: | 20041116233430.0956B3A4016@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/commands:
tablecmds.c (r1.139 -> r1.140)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.139&r2=1.140)
pgsql/src/backend/parser:
analyze.c (r1.312 -> r1.313)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.312&r2=1.313)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-11-17 00:14:15 | pgsql: Fix Win32 problems with signals and sockets, by making the |
Previous Message | Peter Eisentraut | 2004-11-16 22:58:45 | pgsql: Translation update |