Add bytea datatype to ECPG.

Michael Meskes <meskes@postgresql.org>

Commit: 050710b36964dee7e1b2bf6b5ef00041fd5d2787
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-02-18T09:20:31Z
Releases: 12.0
Add bytea datatype to ECPG.

So far ECPG programs had to treat binary data for bytea column as 'char' type.
But this meant converting from/to escaped format with PQunescapeBytea/
PQescapeBytea() and therefore forcing users to add unnecessary code and cost
for the conversion in runtime. By adding a dedicated datatype for bytea most of
this special handling is no longer needed.

Author: Matsumura-san ("Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>)

Discussion: https://postgr.es/m/flat/03040DFF97E6E54E88D3BFEE5F5480F737A141F9@G01JPEXMBYT04

Files

Documentation touched

Discussion

Cited messages not in the archive: flat/03040DFF97E6E54E88D3BFEE5F5480F737A141F9@G01JPEXMBYT04