From: Christoph Berg Date: Tue, 31 Jul 2018 10:04:58 +0000 (+0200) Subject: Fix parsing of charN and varcharN types X-Git-Tag: REL_11_0~2 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=448ff45f3c1707a16c1ff9cb55ebc4a2f9684706;p=pg_filedump.git Fix parsing of charN and varcharN types The type names are always converted to lower case. Fix the type lookup table by using "charn" and "varcharn". Report-By: coredumped on GitHub --- diff --git a/decode.c b/decode.c index 251596e..a842675 100644 --- a/decode.c +++ b/decode.c @@ -161,13 +161,13 @@ static ParseCallbackTableItem callback_table[] = /* internally all string types are stored the same way */ { - "charN", &decode_string + "charn", &decode_string }, { "varchar", &decode_string }, { - "varcharN", &decode_string + "varcharn", &decode_string }, { "text", &decode_string