pgsql: Improve consistency of the error messages generated when you try

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve consistency of the error messages generated when you try
Date: 2007-09-29 17:18:58
Message-ID: 20070929171858.50F27753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-09-29 18:05:20 pgsql: Disallow CLUSTER using an invalid index (that is, one left over
Previous Message Tom Lane 2007-09-29 15:50:07 pgsql: Defend against openssl libraries that fail on keys longer than