Remove dupe implementations of begin/commit from Postgres. Also included checks for...