Hi, I happned to notice that backend/utils/mb/Unicode directory
contains two encoding authority files, which I believe are not to
be there.

euc-jis-2004-std.txt
sjis-0213-2004-std.txt

And what is more astonishing, make distclean didn't its work.

| $ make distclean
| rm -f 

The Makefile there is missing the defenition of TEXT.

# Sorry for the bogus patch by me..

The attached is the *first patch* that fixes distclean and adds
the two files into GENERICTEXTS.

=====

I don't attach the *second* patch since it's too large for the
trivality and can be made by the following steps.

$ cd src/backend/utils/mb/Unicode
$ git rm *.txt
$ git commit


regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center
>From 59c069baaee7a4125fe7071e999c9b2a9d0e40d2 Mon Sep 17 00:00:00 2001
From: Kyotaro Horiguchi <horiguchi.kyot...@lab.ntt.co.jp>
Date: Fri, 7 Apr 2017 14:33:56 +0900
Subject: [PATCH 1/2] Fix distclean of src/backend/utils/mb/Unicode

The Makefile there is missing the target of make distclean.
This restores the defeinition.

diff --git a/src/backend/utils/mb/Unicode/Makefile b/src/backend/utils/mb/Unicode/Makefile
index 8f3afa0..c06b7a1 100644
--- a/src/backend/utils/mb/Unicode/Makefile
+++ b/src/backend/utils/mb/Unicode/Makefile
@@ -68,7 +68,9 @@ WINTEXTS = CP866.TXT CP874.TXT CP936.TXT \
 	CP1256.TXT CP1257.TXT CP1258.TXT
 
 GENERICTEXTS = $(ISO8859TEXTS) $(WINTEXTS) \
-	KOI8-R.TXT KOI8-U.TXT
+	KOI8-R.TXT KOI8-U.TXT sjis-0213-2004-std.txt euc-jis-2004-std.txt
+
+TEXTS = $(GENERICTEXTS) $(ISO8859TEXTS) $(WINTEXTS)
 
 all: $(MAPS)
 
-- 
2.9.2

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to