forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbade01c
committed
Fix recent pg_walinspect fpi_length bug.
Commit0276ae4 taught pg_walinspect's pg_get_wal_record_info()function to output NULLs rather than empty strings for its recorddescription and block_ref output parameters. However, it inadvertentlymoved the function call that sets fpi_length until after it was alreadyset. As a result, pg_get_wal_record_info() always output spuriousfpi_length values of 0.Fix by switching the order back (but keep the behavioral change).Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Discussion:https://postgr.es/m/CAH2-WzkJmgSYkt6-smQ+57SxSmov+EKqFZdSimFewosoL_JKoA@mail.gmail.com1 parent326a33a commitbade01c
1 file changed
+7
-8
lines changedLines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
| 189 | + | |
189 | 190 |
| |
190 | 191 |
| |
191 | 192 |
| |
| |||
197 | 198 |
| |
198 | 199 |
| |
199 | 200 |
| |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
200 | 207 |
| |
201 | 208 |
| |
202 | 209 |
| |
| |||
205 | 212 |
| |
206 | 213 |
| |
207 | 214 |
| |
208 |
| - | |
209 | 215 |
| |
210 | 216 |
| |
211 | 217 |
| |
212 | 218 |
| |
213 | 219 |
| |
214 | 220 |
| |
215 | 221 |
| |
216 |
| - | |
217 | 222 |
| |
218 |
| - | |
219 |
| - | |
220 |
| - | |
221 |
| - | |
222 |
| - | |
223 | 223 |
| |
224 |
| - | |
225 | 224 |
| |
226 | 225 |
| |
227 | 226 |
| |
|
0 commit comments
Comments
(0)