Re: handle a ECPG_bytea typo

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: handle a ECPG_bytea typo
Дата
Msg-id
20200725091742.GA3510@paquier.xyz
Ответ на
Список
Дерево обсуждения
handle a ECPG_bytea typo "Wang, Shenhao" <wangsh.fnst@cn.fujitsu.com>
Re: handle a ECPG_bytea typo vignesh C <vignesh21@gmail.com>
Re: handle a ECPG_bytea typo Michael Paquier <michael@paquier.xyz>
Re: handle a ECPG_bytea typo Michael Paquier <michael@paquier.xyz>
On Sat, Jul 25, 2020 at 07:22:15AM +0530, vignesh C wrote:
> I felt the changes look correct. The reason it might be working
> earlier is because the structure members are the same for both the
> data structures ECPGgeneric_bytea & ECPGgeneric_varchar.

ECPGset_noind_null() and ECPGis_noind_null() in misc.c show that
ECPGgeneric_bytea is attached to ECPGt_bytea.  The two structures may
be the same now, but if a bug fix or a code change involves a change
in the structure definition we could run into problems.  So let's fix
and back-patch this change.  I am not spotting other areas impacted,
and I'll try to take care at the beginning of next week.
--
Michael
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: Michael Paquier
Дата:
FAQ