• Michael Meskes's avatar
    Add bytea datatype to ECPG. · 050710b3
    Michael Meskes authored
    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
    050710b3
variable.c 14.6 KB