Meskes-san
Tnak you for your comment.
> I do think, though, we should change the debug output for
> ecpg_free_params().
I try to change about it. Next patch will print binary in hex-format.
> > > The patch does not support ECPG.bytea in sqltype of "struct
> > > sqlvar_struct"
> > > because of compatibility.
>
> Sorry I do not really understand what you mean. Could you please
> explain?
I meaned that existing applications that receive data of bytea column
with using sqlda will encounter their unknown type(=ECPG.bytea) in
sqlvar_struct.sqltype.
Regards
Ryo Matsumura
> -----Original Message-----
> From: Michael Meskes [mailto:meskes@postgresql.org]
> Sent: Wednesday, December 5, 2018 8:24 PM
> To: Matsumura, Ryo/松村 量 <matsumura.ryo@jp.fujitsu.com>; Tsunakawa,
> Takayuki/綱川 貴之 <tsunakawa.takay@jp.fujitsu.com>
> Cc: pgsql-hackers@lists.postgresql.org
> Subject: Re: [PROPOSAL]a new data type 'bytea' for ECPG
>
> Matsumura-san,
>
> > Sorry to bother you, but I hope any comment of yours.
>
> It is no bother.
>
> I'm fine with the patch if it does not work against the standard.
>
> I do think, though, we should change the debug output for
> ecpg_free_params(). The way it is now it prints binary values which we
> also have in our test suite. I'm afraid this will come back to haunt
> us.
>
> > > The patch does not support ECPG.bytea in sqltype of "struct
> > > sqlvar_struct"
> > > because of compatibility.
>
> Sorry I do not really understand what you mean. Could you please
> explain?
>
> Michael
> --
> Michael Meskes
> Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
> Meskes at (Debian|Postgresql) dot Org
> Jabber: michael at xmpp dot meskes dot org
> VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
>
>