pgsql: Prevent a backend crash when processing CREATE TABLE commands - Mailing list pgsql-committers

From neilc@svr1.postgresql.org (Neil Conway)
Subject pgsql: Prevent a backend crash when processing CREATE TABLE commands
Date
Msg-id 20041116233430.0956B3A4016@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: petere@svr1.postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Translation update
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix Win32 problems with signals and sockets, by making the