pgsql: Backpatch fix from HEAD: Prevent a backend crash when processing - Mailing list pgsql-committers

From neilc@svr1.postgresql.org (Neil Conway)
Subject pgsql: Backpatch fix from HEAD: Prevent a backend crash when processing
Date
Msg-id 20041117001828.97D193A3C55@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix Win32 problems with signals and sockets, by making the
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql: Don't allow pg_start_backup() to be invoked if archive_command