v6.2-0002-Add-646-as-a-codeset-name-for-ASCII.patch
text/plain
Filename: v6.2-0002-Add-646-as-a-codeset-name-for-ASCII.patch
Type: text/plain
Part: 1
Patch
Format: format-patch
Series: patch v6-0002
Subject: Add "646" as a codeset name for ASCII
| File | + | − |
|---|---|---|
| src/port/chklocale.c | 1 | 0 |
From b3aba9c1614cc0240c0c4204051b5eee1c3f3f1b Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter@eisentraut.org>
Date: Fri, 28 Mar 2025 08:37:27 +0100
Subject: [PATCH v6.2 2/2] Add "646" as a codeset name for ASCII
Returned by nl_langinfo_l() on NetBSD.
---
src/port/chklocale.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index 034939f7fd2..d622c09e9bb 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -183,6 +183,7 @@ static const struct encoding_match encoding_match_list[] = {
{PG_SHIFT_JIS_2004, "SJIS_2004"},
{PG_SQL_ASCII, "US-ASCII"},
+ {PG_SQL_ASCII, "646"},
{PG_SQL_ASCII, NULL} /* end marker */
};
--
2.49.0