forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd16f8c8
committed
Mark default_transaction_read_only as GUC_REPORT.
This allows clients to find out the setting at connection time withouthaving to expend a query round trip to do so; which is helpful whentrying to identify read/write servers. (One must also look atin_hot_standby, but that's already GUC_REPORT, cfbf8a662.)Modifying libpq to make use of this will come soon, but I felt itcleaner to push the server change separately.Haribabu Kommi, Greg Nancarrow, Vignesh C; reviewed at various timesby Laurenz Albe, Takayuki Tsunakawa, Peter Smith.Discussion:https://postgr.es/m/CAF3+xM+8-ztOkaV9gHiJ3wfgENTq97QcjXQt+rbFQ6F7oNzt9A@mail.gmail.com1 parent75dbfe4 commitd16f8c8
File tree
3 files changed
+8
-3
lines changed- doc/src/sgml
- src/backend/utils/misc
3 files changed
+8
-3
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2191 | 2191 |
| |
2192 | 2192 |
| |
2193 | 2193 |
| |
| 2194 | + | |
2194 | 2195 |
| |
2195 | 2196 |
| |
2196 | 2197 |
| |
| |||
2206 | 2207 |
| |
2207 | 2208 |
| |
2208 | 2209 |
| |
2209 |
| - | |
| 2210 | + | |
| 2211 | + | |
2210 | 2212 |
| |
2211 | 2213 |
| |
2212 | 2214 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 | 1280 |
| |
| 1281 | + | |
1281 | 1282 |
| |
1282 | 1283 |
| |
1283 | 1284 |
| |
| |||
1293 | 1294 |
| |
1294 | 1295 |
| |
1295 | 1296 |
| |
1296 |
| - | |
| 1297 | + | |
| 1298 | + | |
1297 | 1299 |
| |
1298 | 1300 |
| |
1299 | 1301 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1619 | 1619 |
| |
1620 | 1620 |
| |
1621 | 1621 |
| |
1622 |
| - | |
| 1622 | + | |
| 1623 | + | |
1623 | 1624 |
| |
1624 | 1625 |
| |
1625 | 1626 |
| |
|
0 commit comments
Comments
(0)