fix-sqlda-unhandled-type.patch
text/x-patch
Filename: fix-sqlda-unhandled-type.patch
Type: text/x-patch
Part: 0
Message:
Re: ECPG patch causes warning
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| src/interfaces/ecpg/ecpglib/typename.c | 2 | 1 |
*** pgsql.orig/src/interfaces/ecpg/ecpglib/typename.c 2010-01-05 18:02:03.000000000 +0100 --- pgsql.3/src/interfaces/ecpg/ecpglib/typename.c 2010-01-10 19:12:07.000000000 +0100 *************** sqlda_dynamic_type(Oid type, enum COMPAT *** 136,142 **** #ifdef HAVE_LONG_INT_64 return ECPGt_long; #endif default: ! return (-type); } } --- 136,143 ---- #ifdef HAVE_LONG_INT_64 return ECPGt_long; #endif + /* Unhandled types always return a string */ default: ! return ECPGt_char; } }