Обсуждение: [HACKERS] Host variables corresponding bytea type in ecpg

Поиск
Список
Период
Сортировка

[HACKERS] Host variables corresponding bytea type in ecpg

От
"Kato, Sho"
Дата:
Hi,

I tried to use the bytea type with ecpg, but the corresponding host variable was not described in the manual.

https://www.postgresql.org/docs/devel/static/ecpg-variables.html#ecpg-variables-type-mapping

According to the test code, the bytea type seems to correspond to char *.

  src/interfaces/ecpg/test/sql/binary.pgc 

I think that it is better to describe that the host variable corresponding to the bytea type is char * in the manual,
butwhat about it?
 
I attach modified patch.

regards, Sho Kato.
--
Kato Sho


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

Re: [HACKERS] Host variables corresponding bytea type in ecpg

От
Michael Meskes
Дата:
> I attach modified patch.

Thank you, committed.

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



Re: [HACKERS] Host variables corresponding bytea type in ecpg

От
Tom Lane
Дата:
Michael Meskes <meskes@postgresql.org> writes:
>> I attach modified patch.

> Thank you, committed.

I don't see a git push for this?
        regards, tom lane



Re: [HACKERS] Host variables corresponding bytea type in ecpg

От
Michael Meskes
Дата:
> > > I attach modified patch.
> > Thank you, committed.
> 
> I don't see a git push for this?

Oops, should be there now.

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