Kevin Brown <blargity(at)gmail(dot)com> writes:
> So when the dialog opens, it executes a BEGIN, and then based on whether they
> clicked ok or cancel on the dialog, it'd COMMIT or ROLLBACK. This worked
> fine for me in testing, but now that I have two people using this app
> simulatneously, if they both click on ok at the same time, postgres seemingly
> deadlocks.
Shouldn't happen; please provide a reproducible test case.
regards, tom lane