Make CREATE/ALTER/DROP USER/GROUP transaction-safe, or at least pretty
Tom Lane <tgl@sss.pgh.pa.us>
Make CREATE/ALTER/DROP USER/GROUP transaction-safe, or at least pretty nearly so, by postponing write of flat password file until transaction commit.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xact.c | modified | +16 −7 |
| src/backend/commands/user.c | modified | +142 −65 |
| src/include/commands/user.h | modified | +5 −5 |