Restore CurrentUserId only if 'prevUser' is valid when abort transaction

Edit
ID 1823
Title Restore CurrentUserId only if 'prevUser' is valid when abort transaction
Topic Bug Fixes
Created 2018-10-10 08:10:30
Last modified 2018-11-14 07:52:18 (6 years ago)
Latest email 2018-11-14 07:51:51 (6 years ago)
Status
2018-11: Committed
Target version
Authors Michael Paquier (michael-kun), Richard Guo (richardguo)
Reviewers Tom Lane (tgl)Become reviewer
Committer Michael Paquier (michael-kun)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/1823
git checkout commitfest/cf/1823
Emails
Restore CurrentUserId only if 'prevUser' is valid when abort transaction
First at 2018-10-10 07:37:50 by Richard Guo <riguo at pivotal.io>
Latest at 2018-11-14 07:51:51 by Michael Paquier <michael at paquier.xyz>
Latest attachment (userid-assert-v3.patch) at 2018-11-13 06:13:33 from Michael Paquier <michael at paquier.xyz>
    Attachment (userid-assert-v3.patch) at 2018-11-13 06:13:33 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (userid-assert-v2.patch) at 2018-10-24 05:12:51 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (userid-assert.patch) at 2018-10-11 03:38:10 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (0001-Restore-CurrentUserId-only-if-prevUser-is-valid.patch) at 2018-10-10 07:37:50 from Richard Guo <riguo at pivotal.io> (Patch: Yes)
History
When Who What
2018-11-14 07:52:18 Michael Paquier (michael-kun) Closed in commitfest 2018-11 with status: Committed
2018-11-14 07:52:18 Michael Paquier (michael-kun) Changed committer to michael-kun
2018-11-13 21:15:20 Tom Lane (tgl) New status: Ready for Committer
2018-11-13 21:15:15 Tom Lane (tgl) Added tgl as reviewer
2018-10-24 05:21:07 Michael Paquier (michael-kun) Changed authors to Michael Paquier (michael-kun), Richard Guo (richardguo)
2018-10-10 08:11:15 Richard Guo (richardguo) Changed authors to Richard Guo (richardguo)
2018-10-10 08:10:30 Richard Guo (richardguo) Attached mail thread CAN_9JTxECSb=pEPcb0a8d+6J+bDcOZ4=DgRo_B7Y5gRHJUM=Rw@mail.gmail.com
2018-10-10 08:10:30 Richard Guo (richardguo) Created patch record
Edit