forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite3731ba
committed
Repair two portability oversights of new test
First, as pointed out by Tom Lane and Michael Paquier, I failed torealize that Windows' PostgresNode needs an extra pg_hba.conf line(added by PostgresNode->set_replication_conf, called internally by->init() when 'allows_streaming=>1' is given -- but I purposefullyomitted that). I think a good fix should be to have nodes with only'has_archiving=>1' set up for replication too, but that's a biggerdiscussion. Fix it by calling ->set_replication_conf, which is notunprecedented, as pointed out by Andrew Dunstan.I also forgot to uncomment a ->finish() call for a pumpable IPC::Runfile descriptor. Apparently this is innocuous in almost all platforms.Backpatch to 14. The older branches were added this file too, but notthis particular part of the test.Discussion:https://postgr.es/m/3000074.1632947632@sss.pgh.pa.usDiscussion:https://postgr.es/m/YVT7qwhR8JmC2kfz@paquier.xyz1 parent64a8687 commite3731ba
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
101 | 101 |
| |
102 | 102 |
| |
103 | 103 |
| |
| 104 | + | |
104 | 105 |
| |
105 | 106 |
| |
106 | 107 |
| |
| |||
181 | 182 |
| |
182 | 183 |
| |
183 | 184 |
| |
184 |
| - | |
| 185 | + | |
185 | 186 |
| |
186 | 187 |
| |
187 | 188 |
| |
|
0 commit comments
Comments
(0)