handle a ECPG_bytea typo
Wang, Shenhao <wangsh.fnst@cn.fujitsu.com>
From: "Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2020-07-24T08:05:23Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-ECPGt_bytea-typo.patch (application/octet-stream) patch 0001
Hi, hackers
The source looks like:
case ECPGt_bytea:
{
struct ECPGgeneric_varchar *variable =
(struct ECPGgeneric_varchar *) (var->value);
......
}
I think the developer intend to use struct ECPGgeneric_bytea instead of struct ECPGgeneric_varchar
Is this thoughts right?
I have wrote a patch to fix this typo
Commits
-
Fix handling of structure for bytea data type in ECPG
- 61a4a3a62a98 12.4 landed
- ed4a9dc9cf69 13.0 landed
- e971357961f2 14.0 landed