Commit 5dbca63
committed
Restrict bgw_log_level GUC to PostgreSQL 18 and earlier
PostgreSQL 19 allows log_min_messages to be set per process type, for example
"warning, bgworker:debug1", which supersedes our timescaledb.bgw_log_level
GUC. Only define the GUC and set the background worker log level from it on
earlier versions; on PostgreSQL 19 the native per-process-type setting is used
instead.
Upstream changes:
Allow log_min_messages to be set per process type.
postgres/postgres@38e0190ced1 parent fac2e5c commit 5dbca63
4 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
| 1137 | + | |
1137 | 1138 | | |
| 1139 | + | |
1138 | 1140 | | |
1139 | 1141 | | |
1140 | 1142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| 858 | + | |
858 | 859 | | |
| 860 | + | |
859 | 861 | | |
860 | 862 | | |
861 | 863 | | |
| |||
916 | 918 | | |
917 | 919 | | |
918 | 920 | | |
| 921 | + | |
919 | 922 | | |
| 923 | + | |
920 | 924 | | |
921 | 925 | | |
922 | 926 | | |
| |||
1015 | 1019 | | |
1016 | 1020 | | |
1017 | 1021 | | |
| 1022 | + | |
1018 | 1023 | | |
| 1024 | + | |
1019 | 1025 | | |
1020 | 1026 | | |
1021 | 1027 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| 67 | + | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
| |||
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| 147 | + | |
139 | 148 | | |
| 149 | + | |
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| |||
1510 | 1520 | | |
1511 | 1521 | | |
1512 | 1522 | | |
| 1523 | + | |
1513 | 1524 | | |
1514 | 1525 | | |
1515 | 1526 | | |
| |||
1522 | 1533 | | |
1523 | 1534 | | |
1524 | 1535 | | |
| 1536 | + | |
1525 | 1537 | | |
1526 | 1538 | | |
1527 | 1539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments