From f8c9ef9069020f10c787cc76cdd47e33e95a1893 Mon Sep 17 00:00:00 2001
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Thu, 25 Oct 2007 12:29:17 +0000
Subject: [PATCH] Add new encoding aliases for Solaris, per Zdenek Kotala.

---
 src/port/chklocale.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index e0803222bd1..36ff06d509f 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -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"},
-- 
GitLab