pgsql: Backpatch fix from HEAD: Prevent a backend crash when processing

From: neilc(at)svr1(dot)postgresql(dot)org (Neil Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Backpatch fix from HEAD: Prevent a backend crash when processing
Date: 2004-11-17 00:18:28
Message-ID: 20041117001828.97D193A3C55@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
tablecmds.c (r1.91.2.1 -> r1.91.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.91.2.1&r2=1.91.2.2)
pgsql/src/backend/parser:
analyze.c (r1.290.2.1 -> r1.290.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c.diff?r1=1.290.2.1&r2=1.290.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Ulrich, Azar S. 2004-11-17 00:35:57 java.lang.ClassNotFoundException
Previous Message Tom Lane 2004-11-17 00:14:15 pgsql: Fix Win32 problems with signals and sockets, by making the