Обсуждение: pgsql: Improve consistency of the error messages generated when you try

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)