Commit be37c21
committed
Enable replication connections by default in pg_hba.conf
initdb now initializes a pg_hba.conf that allows replication connections
from the local host, same as it does for regular connections. The
connecting user still needs to have the REPLICATION attribute or be a
superuser.
The intent is to allow pg_basebackup from the local host to succeed
without requiring additional configuration.
Michael Paquier <michael.paquier@gmail.com> and me1 parent 355d399 commit be37c21
File tree
5 files changed
+18
-35
lines changed- doc/src/sgml/ref
- src
- backend/libpq
- bin
- initdb
- pg_basebackup/t
- test/perl
5 files changed
+18
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | 1238 | | |
1244 | 1239 | | |
1245 | 1240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 24 | | |
28 | 25 | | |
29 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 352 | + | |
357 | 353 | | |
358 | 354 | | |
359 | 355 | | |
| |||
373 | 369 | | |
374 | 370 | | |
375 | 371 | | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 372 | | |
380 | 373 | | |
381 | 374 | | |
| |||
396 | 389 | | |
397 | 390 | | |
398 | 391 | | |
399 | | - | |
400 | | - | |
401 | 392 | | |
402 | 393 | | |
403 | 394 | | |
| |||
451 | 442 | | |
452 | 443 | | |
453 | 444 | | |
454 | | - | |
| 445 | + | |
455 | 446 | | |
456 | 447 | | |
457 | 448 | | |
| |||
591 | 582 | | |
592 | 583 | | |
593 | 584 | | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | 585 | | |
598 | 586 | | |
599 | 587 | | |
| |||
615 | 603 | | |
616 | 604 | | |
617 | 605 | | |
618 | | - | |
619 | | - | |
620 | 606 | | |
621 | 607 | | |
622 | 608 | | |
| |||
638 | 624 | | |
639 | 625 | | |
640 | 626 | | |
641 | | - | |
642 | 627 | | |
643 | 628 | | |
644 | 629 | | |
| |||
0 commit comments