From a6940bdcb9ef87a54459deac5699a61cfdbc696c Mon Sep 17 00:00:00 2001
From: Michael Meskes <meskes@postgresql.org>
Date: Tue, 11 Apr 2017 12:41:06 +0200
Subject: [PATCH] Document that bytea is best represented as char * in C for
 ecpg.

Patch by Kato, Sho <kato-sho@jp.fujitsu.com>
---
 doc/src/sgml/ecpg.sgml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 564bd321441..dead4c3f869 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -919,6 +919,11 @@ do
        <entry><type>boolean</type></entry>
        <entry><type>bool</type><footnote><para>declared in <filename>ecpglib.h</filename> if not native</para></footnote></entry>
       </row>
+
+      <row>
+       <entry><type>bytea</type></entry>
+       <entry><type>char *</type></entry>
+      </row>
      </tbody>
     </tgroup>
    </table>
-- 
GitLab