Skip to content

Commit e09567d

Browse files
committed
Back out addition of Win1252 encoding.
1 parent 510a47a commit e09567d

File tree

6 files changed

+2
-349
lines changed

6 files changed

+2
-349
lines changed

src/backend/utils/mb/Unicode/utf8_to_win1252.map

Lines changed: 0 additions & 126 deletions
This file was deleted.

src/backend/utils/mb/Unicode/win1252_to_utf8.map

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/backend/utils/mb/conversion_procs/utf8_and_win1252/Makefile

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/backend/utils/mb/conversion_procs/utf8_and_win1252/utf8_and_win1252.c

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/backend/utils/mb/encnames.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Encoding names and routines for work with it. All
33
* in this file is shared bedween FE and BE.
44
*
5-
* $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.21 2004/12/02 22:14:36 momjian Exp $
5+
* $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.22 2004/12/04 18:19:31 momjian Exp $
66
*/
77
#ifdef FRONTEND
88
#include "postgres_fe.h"
@@ -193,9 +193,6 @@ pg_encname pg_encname_tbl[] =
193193
{
194194
"win1251", PG_WIN1251
195195
}, /* alias for Windows-1251 */
196-
{
197-
"win1252", PG_WIN1252
198-
}, /* alias for Windows-1252 */
199196
{
200197
"win1256", PG_WIN1256
201198
}, /* alias for Windows-1256 */
@@ -223,9 +220,6 @@ pg_encname pg_encname_tbl[] =
223220
{
224221
"windows1251", PG_WIN1251
225222
}, /* Windows-1251; Microsoft */
226-
{
227-
"windows1252", PG_WIN1252
228-
}, /* Windows-1252; Microsoft */
229223
{
230224
"windows1256", PG_WIN1256
231225
}, /* Windows-1256; Microsoft */
@@ -349,9 +343,6 @@ pg_enc2name pg_enc2name_tbl[] =
349343
{
350344
"WIN1250", PG_WIN1250
351345
},
352-
{
353-
"WIN1252", PG_WIN1252
354-
},
355346
{
356347
"SJIS", PG_SJIS
357348
},

src/include/mb/pg_wchar.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.55 2004/12/03 01:20:33 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/mb/pg_wchar.h,v 1.56 2004/12/04 18:19:33 momjian Exp $ */
22

33
#ifndef PG_WCHAR_H
44
#define PG_WCHAR_H
@@ -178,7 +178,6 @@ typedef enum pg_enc
178178
PG_ISO_8859_7, /* ISO-8859-7 */
179179
PG_ISO_8859_8, /* ISO-8859-8 */
180180
PG_WIN1250, /* windows-1250 */
181-
PG_WIN1252, /* windows-1252 */
182181

183182
/* followings are for client encoding only */
184183
PG_SJIS, /* Shift JIS (Winindows-932) */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy