pgsql/ oc/src/sgml/ref/alter_table.sgml rc/bac ...

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/ oc/src/sgml/ref/alter_table.sgml rc/bac ...
Date: 2001-10-12 00:07:15
Message-ID: 200110120007.f9C07F261703@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-10-12 00:09:48 Re: pgsql/ oc/src/sgml/installation.sgml oc/src/sg ...
Previous Message Bruce Momjian 2001-10-11 21:21:36 Re: pgsql/ oc/src/sgml/installation.sgml oc/src/sg ...