Search Postgresql Archives

ALTER DOMAIN feature request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd be nice is ALTER DOMAIN could combine multiple operations in a
single command similar to ALTER TABLE.  I take it that this feature is
not included in the SQL standard?

Here is an example:

alter domain tag_sequence_type drop constraint
tag_sequence_type_check, add constraint tag_sequence_type_check CHECK(
value ~ E'^[A-Z]?$' );
ERROR:  syntax error at or near ","
LINE 1: ...uence_type drop constraint tag_sequence_type_check, add cons...
                                                             ^

Also I'd be nice if psql can show domain constraint names in the \dD
command.  However, I see that the right answers can be found in the
domain_constraints information_schema.

-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux