Commit e7e7da2
committed
Fix possible logical replication crash.
Commit c3afe8c added a new
password_required option but forgot that you need database access
to check whether an arbitrary role ID is a superuser.
Report and patch by Hou Zhijie. I added a comment. Thanks to
Alexander Lakhin for devising a way to reproduce the crash.
Discussion: http://postgr.es/m/OS0PR01MB5716BFD7EC44284C89F40808948F9@OS0PR01MB5716.jpnprd01.prod.outlook.com1 parent a8a0012 commit e7e7da2
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4545 | 4545 | | |
4546 | 4546 | | |
4547 | 4547 | | |
4548 | | - | |
4549 | 4548 | | |
4550 | 4549 | | |
4551 | 4550 | | |
4552 | 4551 | | |
4553 | 4552 | | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
4554 | 4556 | | |
4555 | 4557 | | |
4556 | 4558 | | |
| |||
0 commit comments