pgsql/ oc/src/sgml/ref/alter_table.sgml rc/bac ... - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/ oc/src/sgml/ref/alter_table.sgml rc/bac ...
Date
Msg-id 200110120007.f9C07F261703@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/10/11 20:07:15

Modified files:
    doc/src/sgml/ref: alter_table.sgml
    src/backend/catalog: pg_type.c
    src/backend/commands: command.c
    src/backend/parser: analyze.c
    src/backend/tcop: utility.c
    src/include/commands: command.h
    src/include/nodes: parsenodes.h
    src/test/regress/expected: alter_table.out foreign_key.out

Log message:
    Break transformCreateStmt() into multiple routines and make
    transformAlterStmt() use these routines, instead of having lots of
    duplicate (not to mention should-have-been-duplicate) code.
    Adding a column with a CHECK constraint actually works now,
    and the tests to reject unsupported DEFAULT and NOT NULL clauses
    actually fire now.  ALTER TABLE ADD PRIMARY KEY works, modulo
    having to have created the column(s) NOT NULL already.


pgsql-committers by date:

Previous
From: momjian@postgresql.org
Date:
Subject: pgsql/doc TODO
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql/ oc/src/sgml/installation.sgml oc/src/sg ...