]> granicus.if.org Git - postgresql/commitdiff
Add new encoding aliases for Solaris, per Zdenek Kotala.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 25 Oct 2007 12:29:17 +0000 (12:29 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 25 Oct 2007 12:29:17 +0000 (12:29 +0000)
src/port/chklocale.c

index e0803222bd192be6070187597823e692b9c30e06..36ff06d509fa341be74fad1ae23648eccaba3332 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/port/chklocale.c,v 1.6 2007/10/17 15:24:04 tgl Exp $
+ *       $PostgreSQL: pgsql/src/port/chklocale.c,v 1.7 2007/10/25 12:29:17 alvherre Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -127,6 +127,7 @@ static const struct encoding_match encoding_match_list[] = {
        {PG_WIN874, "CP874"},
        {PG_WIN1250, "CP1250"},
        {PG_WIN1251, "CP1251"},
+       {PG_WIN1251, "ansi-1251"},
        {PG_WIN1252, "CP1252"},
        {PG_WIN1253, "CP1253"},
        {PG_WIN1254, "CP1254"},
@@ -161,6 +162,7 @@ static const struct encoding_match encoding_match_list[] = {
 
        {PG_BIG5, "BIG5"},
        {PG_BIG5, "BIG5HKSCS"},
+       {PG_BIG5, "Big5-HKSCS"},
        {PG_BIG5, "CP950"},
 
        {PG_GBK, "GBK"},