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, but what about it?
I attach modified patch.

regards, Sho Kato.
--
Kato Sho

Attachment: fix_ecpg_host_variables_in_doc_v1.patch
Description: fix_ecpg_host_variables_in_doc_v1.patch

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

Reply via email to