[HACKERS] Host variables corresponding bytea type in ecpg - Mailing list pgsql-hackers

From Kato, Sho
Subject [HACKERS] Host variables corresponding bytea type in ecpg
Date
Msg-id 25C1C6B2E7BE044889E4FE8643A58BA958616831@G01JPEXMBKW03
Whole thread Raw
Responses Re: [HACKERS] Host variables corresponding bytea type in ecpg
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Letting the client choose the protocol to use during aSASL exchange
Next
From: Heikki Linnakangas
Date:
Subject: Re: [HACKERS] SCRAM authentication, take three