Paul Jungwirth <pj@xxxxxxxxxxxxxxxxxxxxxxxx> writes: > I'm trying to create a unique index where the unique constraint is > `deferrable initially immediate`. But I don't see any way to do this > in the syntax of the `create index` command. It looks like the only > way to do it is via `alter table foo add unique`. Is that right, or > can I do it as part of `create index`? Deferrability is a property of a constraint, not an index, so you can only specify it for indexes that are associated with constraints. Yes, that limits the kinds of indexes that can be used ... regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general