- Notifications
You must be signed in to change notification settings - Fork5k
Commitb8341ae
committed
pgoutput: Initialize missing default for "origin" parameter.
The pgoutput plugin initializes optional parameters like "binary" withdefault values at the start of processing. However, the "origin"parameter was previously missed and left without explicit initialization.Although the PGOutputData struct, which holds these settings,is zero-initialized at allocation (resulting in publish_no_origin fieldfor "origin" parameter being false by default), this default was notset explicitly, unlike other parameters.This commit adds explicit initialization of the "origin" parameter toensure consistency and clarity in how defaults are handled.Author: Fujii Masao <masao.fujii@gmail.com>Reviewed-by: Euler Taveira <euler@eulerto.com>Discussion:https://postgr.es/m/d2790f10-238d-4cb5-a743-d9d2a9dd900f@oss.nttdata.com1 parentd842581 commitb8341ae
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
297 | 297 |
| |
298 | 298 |
| |
299 | 299 |
| |
| 300 | + | |
300 | 301 |
| |
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
| 305 | + | |
304 | 306 |
| |
305 | 307 |
| |
306 | 308 |
| |
|
0 commit comments
Comments
(0)