pgsql: Improve consistency of the error messages generated when you try - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Improve consistency of the error messages generated when you try
Date
Msg-id 20070929171858.50F27753E4C@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Improve consistency of the error messages generated when you try to use
ALTER TABLE on a composite type or ALTER TYPE on a table's rowtype.
We already rejected these cases, but the error messages were a bit
random and didn't always provide a HINT to use the other command type.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.232 -> r1.233)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c?r1=1.232&r2=1.233)
        typecmds.c (r1.107 -> r1.108)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/typecmds.c?r1=1.107&r2=1.108)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Defend against openssl libraries that fail on keys longer than
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Disallow CLUSTER using an invalid index (that is, one left over