piotr.findeisen@gmail.com writes:
> Below follows SQL that in my opinion should fail at 'commit', i.e. after 6 s
> sleep. However, when run with psql, it fails immediately, as if FK was not
> made deferred.
This example works for me in current sources. I think it's probably a
duplicate of bug #13224 which was fixed last week.
regards, tom lane