"Vladimir Kokovic" <vladimir.koko...@a-asoft.com> wrote:
 
> For ALTER TABLE ADD CONSTRAINT documentation says:
> ADD table_constraint
>     This form adds a new constraint to a table using the same syntax
<     as CREATE TABLE.
 
Which is specified as UNIQUE ( column_name [, ... ] )
 
> But if expression is used
 
it's not supported syntax, per the above.
 
> Create index is OK:
 
as one would expect from the documentation:
 
( { column | ( expression ) } [ opclass ] [, ...] )
 
This is not a bug.
 
Maybe there's a feature request in there, but that would belong on
a different list.
 
-Kevin

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

Reply via email to