Hello,
I fleshed this out more fully and I think 0001 is good enough to commit.
I then noticed that constraints on domains are giving bogus error
messages as well, and the situation is easily improved -- see 0002. I'm
not so sure about this one, mainly because test coverage appears scant.
I need to look into this one a bit more.
Thanks
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/