forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit90819f0
Adjust new pg_read_file() test cases for more portability.
It's allowed for an installation to remove postgresql.auto.conf,so don't rely on that being present. Instead probe whether we canread postmaster.pid. (If you've removed that, you broke the datadirectory's multiple-postmaster interlock, not to mention pg_ctl.)Per gripe from Michael Paquier.Discussion:https://postgr.es/m/YuSZTsoBMObyY+vT@paquier.xyz1 parent37e91e4 commit90819f0
File tree
2 files changed
+12
-12
lines changed- src/test/regress
- expected
- sql
2 files changed
+12
-12
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
376 |
| - | |
| 376 | + | |
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
382 |
| - | |
| 382 | + | |
383 | 383 |
| |
384 | 384 |
| |
385 |
| - | |
| 385 | + | |
386 | 386 |
| |
387 | 387 |
| |
388 | 388 |
| |
| |||
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
403 |
| - | |
| 403 | + | |
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
409 |
| - | |
| 409 | + | |
410 | 410 |
| |
411 | 411 |
| |
412 |
| - | |
| 412 | + | |
413 | 413 |
| |
414 | 414 |
| |
415 | 415 |
| |
| |||
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
430 |
| - | |
| 430 | + | |
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
124 | 124 |
| |
125 | 125 |
| |
126 | 126 |
| |
127 |
| - | |
128 |
| - | |
| 127 | + | |
| 128 | + | |
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
| 137 | + | |
| 138 | + | |
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
|
0 commit comments
Comments
(0)