forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf3d4019
committed
Ensure consistent logical replication of datetime and float8 values.
In walreceiver, set the publisher's relevant GUCs (datestyle,intervalstyle, extra_float_digits) to the same values that pg_dump uses,and for the same reason: we need the output to be read the same wayregardless of the receiver's settings. Without this, it's possiblefor subscribers to misinterpret transmitted values.Although this is clearly a bug fix, it's not without downsides:subscribers that are storing values into some other datatype, such astext, could get different results than before, and perhaps be unhappyabout that. Given the lack of previous complaints, it seems bestto change this only in HEAD, and to call it out as an incompatiblechange in v15.Japin Li, per report from Sadhuprasad PatroDiscussion:https://postgr.es/m/CAFF0-CF=D7pc6st-3A9f1JnOt0qmc+BcBPVzD6fLYisKyAjkGA@mail.gmail.com1 parent01fc652 commitf3d4019
1 file changed
+14
-2
lines changedLines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
132 |
| - | |
| 131 | + | |
| 132 | + | |
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
| |||
153 | 153 |
| |
154 | 154 |
| |
155 | 155 |
| |
| 156 | + | |
156 | 157 |
| |
157 | 158 |
| |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
158 | 170 |
| |
159 | 171 |
| |
160 | 172 |
| |
|
0 commit comments
Comments
(0)