From: Peter Eisentraut Date: Mon, 9 Dec 2002 19:47:21 +0000 (+0000) Subject: Fix Latin9/Unicode conversion by selecting the right table. X-Git-Tag: REL7_4_BETA1~1404 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ed6be54e2fd7b9ed505a89b26d5cc72a47f043a;p=postgresql Fix Latin9/Unicode conversion by selecting the right table. --- diff --git a/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c b/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c index a7252ae76a..69d191f390 100644 --- a/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c +++ b/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.5 2002/10/26 15:01:00 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c,v 1.6 2002/12/09 19:47:21 petere Exp $ * *------------------------------------------------------------------------- */ @@ -98,7 +98,7 @@ static pg_conv_map maps[] = { {PG_LATIN8, LUmapISO8859_14, ULmapISO8859_14, sizeof(LUmapISO8859_14) / sizeof(pg_local_to_utf), sizeof(ULmapISO8859_14) / sizeof(pg_utf_to_local)}, /* ISO-8859-14 Latin 8 */ - {PG_LATIN9, LUmapISO8859_2, ULmapISO8859_2, + {PG_LATIN9, LUmapISO8859_15, ULmapISO8859_15, sizeof(LUmapISO8859_15) / sizeof(pg_local_to_utf), sizeof(ULmapISO8859_15) / sizeof(pg_utf_to_local)}, /* ISO-8859-15 Latin 9 */ {PG_LATIN10, LUmapISO8859_16, ULmapISO8859_16,