"Gregory Wood" <gregw(at)com-stock(dot)com> writes:
> Hmmmm, I just found a clearer grammar description in the docs and it appears
> that only REFERENCES constraints are deferrable in PostgreSQL. I suppose
> I'll have to handle this via a trigger for now.
> The book mentions that SQL92 allows for deferrable NOT NULL constraints. Is
> this planned for anytime soon?
This is (or should be) on the TODO list, but I don't know of anyone with
near-term plans to fix it. The whole area of constraints could use an
overhaul, see past discussions in pghackers.
regards, tom lane