forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbc30624
Allow dbname in pg_basebackup/pg_receivewal connstring
As physical replication work at the cluster level and not databaselevel, any dbname in the connection string is ignored. Proxies andmiddleware used in connecting to the cluster might however need toknow the dbname in order to make the correct routing decision forthe connection.With this the startup packet will include the dbname parameter.Author: Jelte Fennema-Nio <me@jeltef.nl>Reviewed-by: Tristen Raab <tristen.raab@highgo.ca>Reviewed-by: Jim Jones <jim.jones@uni-muenster.de>Discussion:https://postgr.es/m/CAGECzQTw-dZkVT_RELRzfWRzY714-VaTjoBATYfZq93R8C-auA@mail.gmail.com1 parent33ec2b8 commitbc30624
File tree
3 files changed
+27
-14
lines changed- doc/src/sgml/ref
- src/bin/pg_basebackup
3 files changed
+27
-14
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
778 | 778 |
| |
779 | 779 |
| |
780 | 780 |
| |
781 |
| - | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
782 | 785 |
| |
783 | 786 |
| |
784 | 787 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
316 | 316 |
| |
317 | 317 |
| |
318 | 318 |
| |
319 |
| - | |
320 |
| - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 |
| |
322 | 325 |
| |
323 | 326 |
| |
|
Lines changed: 18 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 | 82 |
| |
86 | 83 |
| |
87 | 84 |
| |
| |||
92 | 89 |
| |
93 | 90 |
| |
94 | 91 |
| |
95 |
| - | |
96 |
| - | |
| 92 | + | |
97 | 93 |
| |
98 | 94 |
| |
99 | 95 |
| |
100 | 96 |
| |
101 | 97 |
| |
102 | 98 |
| |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 |
| |
104 | 108 |
| |
105 |
| - | |
106 |
| - | |
| 109 | + | |
107 | 110 |
| |
108 | 111 |
| |
109 | 112 |
| |
| |||
115 | 118 |
| |
116 | 119 |
| |
117 | 120 |
| |
| 121 | + | |
| 122 | + | |
| 123 | + | |
118 | 124 |
| |
119 | 125 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 | 126 |
| |
124 | 127 |
| |
125 | 128 |
| |
| |||
171 | 174 |
| |
172 | 175 |
| |
173 | 176 |
| |
174 |
| - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
175 | 182 |
| |
176 | 183 |
| |
177 | 184 |
| |
|
0 commit comments
Comments
(0)