diff options
author | Fujii Masao | 2025-07-16 01:31:51 +0000 |
---|---|---|
committer | Fujii Masao | 2025-07-16 01:31:51 +0000 |
commit | b8341ae856f239c6d84c738e516267e890969d8a (patch) | |
tree | 3e0e40d5fd484a697c573adf5aad3e714319ad7f /src/pl/plpython/generate-spiexceptions.pl | |
parent | d8425811b681ea5ba48a36235de5e1332e92685c (diff) |
The pgoutput plugin initializes optional parameters like "binary" with
default 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 field
for "origin" parameter being false by default), this default was not
set explicitly, unlike other parameters.
This commit adds explicit initialization of the "origin" parameter to
ensure 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.com
Diffstat (limited to 'src/pl/plpython/generate-spiexceptions.pl')
0 files changed, 0 insertions, 0 deletions