On Mar 24, 2017, at 5:00 PM, Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
>> So it’s a fine workaround, but maybe there’s something missing from the parsing of the CREATE TABLE statement? This is on 9.6.1.
>
> Unique constraints don't support expressions, or a predicate (partial-ness).
Oh. Okay. I assumed the syntax would be identical to a unique index, since that’s ultimately what a unique constraint is, IIUC. My mistake.
Thanks Peter!
Best,
David