Fix Latin9/Unicode conversion by selecting the right table.
authorPeter Eisentraut
Mon, 9 Dec 2002 19:47:21 +0000 (19:47 +0000)
committerPeter Eisentraut
Mon, 9 Dec 2002 19:47:21 +0000 (19:47 +0000)
src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c

index a7252ae76a38192813bd5ba29533391dacb438e1..69d191f39052e7f2a2954f292cc3a2885032b126 100644 (file)
@@ -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,