Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf00bbb

Browse files
committed
I really hope that I haven't missed anything in this one...From: t-ishii@sra.co.jpAttached are patches to enhance the multi-byte support. (patches areagainst 7/18 snapshot)* determine encoding at initdb/createdb rather than compile timeNow initdb/createdb has an option to specify the encoding. Also, Imodified the syntax of CREATE DATABASE to accept encoding option. SeeREADME.mb for more details.For this purpose I have added new column "encoding" to pg_database.Also pg_attribute and pg_class are changed to catch up themodification to pg_database. Actually I haved added pg_database_mb.h,pg_attribute_mb.h and pg_class_mb.h. These are used only when MB isenabled. The reason having separate files is I couldn't find a way touse ifdef or whatever in those files. I have to admit it looksugly. No way.* support for PGCLIENTENCODING when issuing COPY commandcommands/copy.c modified.* support for SQL92 syntax "SET NAMES"See gram.y.* support for LATIN2-5* add UNICODE regression test case* new test suite for MBNew directory test/mb added.* clean up source filesBasic idea is to have MB's own subdirectory for easier maintenance.These are include/mb and backend/utils/mb.
1 parent6e66468 commitbf00bbb

File tree

82 files changed

+2154
-752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+2154
-752
lines changed

‎doc/README.mb

Lines changed: 53 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
postgresql 6.4 multi-byte (MB) support READMEJun 5 1998
1+
postgresql 6.4 multi-byte (MB) support READMEJul 22 1998
22

33
Tatsuo Ishii
44
t-ishii@sra.co.jp
@@ -10,7 +10,10 @@ The MB support is intended for allowing PostgreSQL to handle
1010
multi-byte character sets such as EUC(Extended Unix Code), Unicode and
1111
Mule internal code. With the MB enabled you can use multi-byte
1212
character sets in regexp ,LIKE and some functions. The encoding system
13-
chosen is determined at the compile time.
13+
chosen is determined when initializing your PostgreSQL installation
14+
using initdb(1). Note that this can be overrided when creating a
15+
database using createdb(1) or create database SQL command. So you
16+
could have multiple databases with different encoding system.
1417

1518
MB also fixes some problems concerning with 8-bit single byte
1619
character sets including ISO8859. (I would not say all of problems
@@ -36,7 +39,11 @@ where encoding_system is one of:
3639
EUC_TWTaiwan EUC
3740
UNICODEUnicode(UTF-8)
3841
MULE_INTERNALMule internal
39-
LATIN1ISO 8859-1 English and some European laguages
42+
LATIN1ISO 8859-1 English and some European languages
43+
LATIN2ISO 8859-2 English and some European languages
44+
LATIN3ISO 8859-3 English and some European languages
45+
LATIN4ISO 8859-4 English and some European languages
46+
LATIN5ISO 8859-5 English and some European languages
4047

4148
Example:
4249

@@ -50,7 +57,28 @@ Example:
5057
If MB is disabled, nothing is changed except better supporting for
5158
8-bit single byte character sets.
5259

53-
2. PGCLIENTENCODING
60+
2. How to set encoding
61+
62+
initdb command defines the default encoding for a PostgreSQL
63+
installation. For example:
64+
65+
% initdb -e EUC_JP
66+
67+
sets the default encoding to EUC_JP(Extended Unix Code for Japanese).
68+
Note that you can use "-pgencoding" instead of "-e" if you like longer
69+
option string:-) If no -e or -pgencoding option is given, the encoding
70+
specified at the compile time is used.
71+
72+
You can create a database with a different encoding.
73+
74+
% createdb -E EUC_KR korean
75+
76+
will create a database named "korean" with EUC_KR encoding. The
77+
another way to accomplish this is to use a SQL command:
78+
79+
CREATE DATABASE korean WITH ENCODING = 'EUC_KR';
80+
81+
3. PGCLIENTENCODING
5482

5583
If an environment variable PGCLIENTENCODING is defined on the
5684
frontend, automatic encoding translation is done by the backend. For
@@ -68,7 +96,11 @@ Supported encodings for PGCLIENTENCODING are:
6896
EUC_KRKorean EUC
6997
EUC_TWTaiwan EUC
7098
MULE_INTERNALMule internal
71-
LATIN1ISO 8859-1 English and some European laguages
99+
LATIN1ISO 8859-1 English and some European languages
100+
LATIN2ISO 8859-2 English and some European languages
101+
LATIN3ISO 8859-3 English and some European languages
102+
LATIN4ISO 8859-4 English and some European languages
103+
LATIN5ISO 8859-5 English and some European languages
72104

73105
Note that UNICODE is not supported(yet). Also note that the
74106
translation is not always possible. Suppose you choose EUC_JP for the
@@ -86,7 +118,12 @@ new command:
86118
SET CLIENT_ENCODING TO 'encoding';
87119

88120
where encoding is one of the encodings those can be set to
89-
PGCLIENTENCODING. To query the current the frontend encoding:
121+
PGCLIENTENCODING. Also you can use SQL92 syntax "SET NAMES" for this
122+
purpose:
123+
124+
SET NAMES 'encoding';
125+
126+
To query the current the frontend encoding:
90127

91128
SHOW CLIENT_ENCODING;
92129

@@ -114,7 +151,16 @@ Unicode: http://www.unicode.org/
114151

115152
5. History
116153

117-
Jun 5, 1988
154+
Jul 22, 1998
155+
* determine encoding at initdb/createdb rather than compile time
156+
* support for PGCLIENTENCODING when issuing COPY command
157+
* support for SQL92 syntax "SET NAMES"
158+
* support for LATIN2-5
159+
* add UNICODE regression test case
160+
* new test suite for MB
161+
* clean up source files
162+
163+
Jun 5, 1998
118164
* add support for the encoding translation between the backend
119165
and the frontend
120166
* new command SET CLIENT_ENCODING etc. added

‎doc/README.mb.jp

Lines changed: 57 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
1+
postgresql 6.4 multi-byte (MB) support README 1998/7/22 $B:n@.(B
22

33
$B@P0fC#IW(B
44
t-ishii@sra.co.jp
@@ -9,7 +9,7 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
99
PostgreSQL $B$K$*$1$k%^%k%A%P%$%H%5%]!<%H$O0J2<$N$h$&$JFCD'$r;}$C$F$$$^$9!#(B
1010

1111
1.$B%^%k%A%P%$%HJ8;z$H$7$F!"F|K\8l!"Cf9q8l$J$I$N3F9q$N(B EUC$B!"(BUnicode$B!"(B
12-
mule internal code, ISO-8859-1 $B$,%3%s%Q%$%k;~$KA*Br2DG=!#(B
12+
mule internal code, ISO-8859-1 $B$,%G!<%?%Y!<%9:n@.;~$KA*Br2DG=!#(B
1313
$B%G!<%?%Y!<%9$K$O$3$N%3!<%I$N$^$^3JG<$5$l$^$9!#(B
1414
2.$B%F!<%V%kL>$K%^%k%A%P%$%HJ8;z$,;HMQ2DG=(B($B$?$@$7!"(BOS $B$,%^%k%A%P%$%H(B
1515
$B$N%U%!%$%kL>$r5v$7$F$$$k$3$H$,I,MW(B)
@@ -23,6 +23,7 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
2323
$B$,%P%C%/%(%s%IB&$H0[$k>l9g$K!"<+F0E*$K%3!<%IJQ49$r9T$J$$$^$9!#(B
2424

2525
$B%$%s%9%H!<%k!'(B
26+
2627
$B%G%U%)%k%H$G$O(B PostgreSQL $B$O%^%k%A%P%$%H$r%5%]!<%H$7$F$$$^$;$s!#(B
2728
$B%^%k%A%P%$%H%5%]!<%H$rM-8z$K$9$kJ}K!$r@bL@$7$^$9!#(B
2829

@@ -34,9 +35,11 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
3435

3536
% configure --with-mb=EUC_JP
3637

37-
$BJ8;z%3!<%I$H$7$F$O(B EUC_JP $B$r4^$a!"0J2<$N%3!<%I$,;XDj$G$-$^$9!#(B
38-
($B8=:_$N<BAu$G$O!"J8;z%3!<%I$O%3%s%Q%$%k;~$K7hDj$5$l!"<B9T;~$K(B
39-
$BF0E*$KJQ99$9$k$3$H$O$G$-$^$;$s(B)
38+
$BJ8;z%3!<%I$H$7$F$O(B EUC_JP $B$r4^$a!"0J2<$N%3!<%I$,(B initdb $B$K$h$k(B
39+
$B%G!<%?%Y!<%9=i4|2=;~$*$h$S%G!<%?%Y!<%9:n@.;~(B
40+
(Unix $B%3%^%s%I$N(B createdb $B$b$7$/$O(B SQL $B$N(B create database)
41+
$B$K;XDj$G$-$^$9!#(BMakefile.custom $B$"$k$$$O(B configure $B$G;XDj$7$?J8;z%3!<(B
42+
$B%I$O(B initdb $B$N>JN,;~$NJ8;z%3!<%I$K$J$j$^$9!#(B
4043

4144
EUC_JP$BF|K\8l(B EUC
4245
EUC_CNGB $B$r%Y!<%9$K$7$?CfJ8(BEUC$B!#(Bcode set 2 $B$O(B
@@ -48,9 +51,9 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
4851
$B$9$J$o$A(B 0xffff $B$^$G$G$9!#(B
4952
MULE_INTERNALmule $B$NFbIt%3!<%I!#$?$@$7!"(BType N $B$NITDjD9J8;z$O(B
5053
$B%5%]!<%H$7$F$$$^$;$s!#(B
51-
LATIN1ISO8859 Latin1$B!#%7%s%0%k%P%$%H$J$s$G$9$1$I!"(B
52-
$B;n$7$H$$$&$3$H$G(B:-)$B$A$J$_$K!"(BLATIN2 etc. $B$O(B
53-
$BL$%5%]!<%H!#(B
54+
LATIN*ISO8859 Latin $B%7%j!<%:!#(B* $B$O(B 1 $B$+$i(B 5 $B$^$G;XDj(B
55+
$B$G$-$^$9!#%7%s%0%k%P%$%H$J$s$G$9$1$I!"(B
56+
$B;n$7$H$$$&$3$H$G(B:-)
5457

5558
$BA*Br$NL\0B$H$7$F$O!"1Q8l$HF|K\8l$7$+;H$o$J$$>l9g$O(B EUC_JP($BF1MM$K!"Cf(B
5659
$B9q8l$7$+;H$o$J$$>l9g$O(B EUC_CN... $B$J$I$H$J$j$^$9(B)$B!"$=$NB>$N8@8l$b;H$$$?(B
@@ -69,13 +72,42 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
6972
http://www.sra.co.jp/people/t-ishii/PostgreSQL/ $B$G$b4JC1$J%$%s%9%H!<(B
7073
$B%kJ}K!$r>R2p$7$F$$$^$9!#(B
7174

75+
initdb/createdb/create database $B$K$*$1$kJ8;z%3!<%I$N;XDj$K$D$$$F(B
76+
77+
initdb $B$G$O0J2<$N%*%W%7%g%s$GJ8;z%3!<%I$,;XDj$G$-$^$9!#(B
78+
79+
-e $BJ8;z%3!<%I(B
80+
-pgencoding $BJ8;z%3!<%I(B
81+
82+
$B$3$3$G;XDj$7$?J8;z%3!<%I$O!"0J8e(B createdb/create database $B$GJ8;z%3!<%I$r(B
83+
$B>JN,$7$?>l9g$K@_Dj$5$l$kJ8;z%3!<%I$K$J$j$^$9!#(B-e $B$^$?$O(B -pgencoding
84+
$B%*%W%7%g%s$r>JN,$7$?>l9g$O!"(BMakefile.custom $B$"$k$$$O(B configure $B$G;X(B
85+
$BDj$7$?J8;z%3!<%I$,:NMQ$5$l$^$9!#(B
86+
87+
createdb $B$G$O0J2<$N%*%W%7%g%s$GJ8;z%3!<%I$,;XDj$G$-$^$9!#(B
88+
89+
-E $BJ8;z%3!<%I(B
90+
91+
create database $B$G$O0J2<$N%*%W%7%g%s$GJ8;z%3!<%I$,;XDj$G$-$^$9!#(B
92+
93+
CREATE DATABASE dbanme WITH ENCODING = '$BJ8;z%3!<%I(B';
94+
95+
LOCATION $B$rF1;~$K;XDj$9$k>l9g$O0J2<$N$h$&$K$J$j$^$9!#(B
96+
97+
CREATE DATABASE dbanme WITH LOCATION = 'path' ENCODING = '$BJ8;z%3!<%I(B';
98+
99+
createdb/create database $B$O!"J8;z%3!<%I;XDj$r>JN,$7$?>l9g$O!"(Binitdb
100+
$B$G;XDj$7$?J8;z%3!<%I$,:NMQ$5$l$^$9!#(B
101+
72102
$B4D6-JQ?t(B PGCLIENTENCODING $B$K$D$$$F!'(B
73103

74-
$B%G%U%)%k%H$G$O!"%3%s%Q%$%k;~$K;XDj$7$?%5!<%PB&$NJ8;z%3!<%I$H!"(Bpsql
75-
$B$J$I$N%/%i%$%"%s%HB&$NJ8;z%3!<%I$,0lCW$7$F$$$k$b$N$H8+Jo$5$l$^$9!#%5!<(B
76-
$B%PB&$H0[$kJ8;z%3!<%I$r;H$$$?$$>l9g$O!"4D6-JQ?t(B PGCLIENTENCODING $B$r@_(B
77-
$BDj$7$^$9!#@_Dj2DG=$JJ8;z%3!<%I$O!">e5-$K2C$(!"(BSJIS ($B%7%U%H(BJIS)
78-
$B$,;XDj$G$-$^$9!#(B
104+
$B4D6-JQ?t(B PGCLIENTENCODING $B$,@_Dj$5$l$F$$$J$$>l9g!"(Blibpq $B$O%;%C%7%g%s(B
105+
$B3+;O;~$K%5!<%PB&$KJ8;z%3!<%I$rLd$$9g$o$;!"$=$NCM$r4D6-JQ?t(B
106+
PGCLIENTENCODING $B$K@_Dj$7$^$9!#(B
107+
108+
$B4D6-JQ?t(B PGCLIENTENCODING $B$,@_Dj$5$l$F$$$k>l9g$O$=$NCM$,M%@h$5$l!"%5!<(B
109+
$B%PB&$H0[$J$kJ8;z%3!<%I$,;HMQ$G$-$^$9!#@_Dj2DG=$JJ8;z%3!<%I$O!">e5-$K(B
110+
$B2C$(!"(BSJIS ($B%7%U%H(BJIS)$B$,;XDj$G$-$^$9!#(B
79111

80112
$B$A$J$_$K!"(BSJIS $B$O(B JISX0201 $B$N(B 1$B%P%$%H%+%J!"$$$o$f$k!VH>3Q%+%?(B
81113
$B%+%J!W$b%5%]!<%H$7$F$$$^$9(B($B7h$7$F!VH>3Q%+%?%+%J!W$N;HMQ$r$*4+(B
@@ -150,6 +182,18 @@ postgresql 6.3.2 multi-byte (MB) support README 1998/5/25 $B:n@.(B
150182

151183
$B2~DjMzNr!'(B
152184

185+
1998/7/22 6.4 $B&A8~$1$K%Q%C%A$r%j%j!<%9!#(B
186+
* initdb/createdb/create database $B$G%5!<%PB&$NJ8;z%3!<%I$r@_Dj(B
187+
$B$G$-$k5!G=<BAu!#$3$N$?$a!"%7%9%F%`%+%?%m%0$N(B pg_database $B$K(B
188+
$B?7$7$$%+%i%`(B encoding $B$rDI2C(B(MB$B$,M-8z$J;~$@$1(B)
189+
* copy $B$,(B PGCLIENTENCODING $B$KBP1~(B
190+
* SQL92 $B$N(B "SET NAMES" $B$r%5%]!<%H(B(MB$B$,M-8z$J;~$@$1(B)
191+
* LATIN2-5 $B$r%5%]!<%H(B
192+
* regression test $B$K(B unicode $B$N%F%9%H%1!<%9$rDI2C(B
193+
* MB $B@lMQ$N(B regression $B%F%9%H%G%#%l%/%H%j(B test/mb $B$rDI2C(B
194+
* $B%=!<%9%U%!%$%k$NCV$->l=j$rBgI}8+D>$7!#(BMB $B4X78$O(B
195+
include/mb, backend/utils/mb $B$KCV$/$h$&$K$7$?(B
196+
153197
1998/5/25 $B%P%0=$@5(B(mb_b3.patch $B$H$7$F(B pgsql-jp ML $B$K%j%j!<%9!"(B
154198
$BK\2H$G$O(B 6.4 snapshot $B$K<h$j9~$^$l$kM=Dj(B)
155199

‎src/Makefile.global.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.43 1998/06/16 07:29:15 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.44 1998/07/24 03:31:04 scrappy Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -150,7 +150,7 @@ X11_LIBS= -lX11 @X_EXTRA_LIBS@
150150
#
151151
# enable multi-byte support
152152
# choose one of:
153-
# EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1
153+
# EUC_JP,EUC_CN,EUC_KR,EUC_TW,UNICODE,MULE_INTERNAL,LATIN1-5
154154
MB=@MB@
155155

156156
##############################################################################

‎src/backend/bootstrap/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for the bootstrap module
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.13 1998/04/06 00:22:02 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.14 1998/07/24 03:31:06 scrappy Exp $
88
#
99
#
1010
# We must build bootparse.c and bootscanner.c with yacc and lex and sed,
@@ -22,6 +22,9 @@ SRCDIR= ../..
2222
include ../../Makefile.global
2323

2424
CFLAGS += -I..
25+
ifdefMB
26+
CFLAGS += -DMB=$(MB)
27+
endif
2528

2629
ifeq ($(CC), gcc)
2730
CFLAGS+= -Wno-error

‎src/backend/bootstrap/bootparse.y

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.16 1998/04/26 04:05:51 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.17 1998/07/24 03:31:07 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -31,8 +31,13 @@
3131
#include"bootstrap/bootstrap.h"
3232
#include"catalog/heap.h"
3333
#include"catalog/pg_am.h"
34+
#ifdef MB
35+
#include"catalog/pg_attribute_mb.h"
36+
#include"catalog/pg_class_mb.h"
37+
#else
3438
#include"catalog/pg_attribute.h"
3539
#include"catalog/pg_class.h"
40+
#endif
3641
#include"commands/defrem.h"
3742
#include"nodes/nodes.h"
3843
#include"nodes/parsenodes.h"

‎src/backend/bootstrap/bootscanner.l

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.8 1997/11/2405:07:56 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootscanner.l,v 1.9 1998/07/2403:31:08 scrappy Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -20,15 +20,23 @@
2020
#include"storage/block.h"
2121
#include"storage/off.h"
2222
#include"storage/itemptr.h"
23+
#ifdef MB
24+
#include"catalog/pg_attribute_mb.h"
25+
#else
2326
#include"catalog/pg_attribute.h"
27+
#endif
2428
#include"access/attnum.h"
2529
#include"nodes/pg_list.h"
2630
#include"access/tupdesc.h"
2731
#include"access/itup.h"
2832
#include"access/funcindex.h"
2933
#include"storage/fd.h"
3034
#include"catalog/pg_am.h"
35+
#ifdef MB
36+
#include"catalog/pg_class_mb.h"
37+
#else
3138
#include"catalog/pg_class.h"
39+
#endif
3240
#include"nodes/nodes.h"
3341
#include"rewrite/prs2lock.h"
3442
#include"access/skey.h"

‎src/backend/bootstrap/bootstrap.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.44 1998/06/27 04:53:29 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.45 1998/07/24 03:31:08 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -41,8 +41,13 @@
4141
#include"catalog/catname.h"
4242
#include"catalog/index.h"
4343
#include"catalog/pg_am.h"
44+
#ifdefMB
45+
#include"catalog/pg_attribute_mb.h"
46+
#include"catalog/pg_class_mb.h"
47+
#else
4448
#include"catalog/pg_attribute.h"
4549
#include"catalog/pg_class.h"
50+
#endif
4651
#include"catalog/pg_type.h"
4752
#include"executor/execdesc.h"
4853
#include"executor/hashjoin.h"

‎src/backend/catalog/Makefile

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for catalog
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.10 1998/04/06 00:22:13 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.11 1998/07/24 03:31:09 scrappy Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -24,11 +24,28 @@ SUBSYS.o: $(OBJS)
2424

2525
GENBKI= ./genbki.sh
2626

27+
ifdefMB
28+
GLOBALBKI_SRCS=$(addprefix ../../include/catalog/, \
29+
pg_database_mb.h pg_variable.h pg_shadow.h \
30+
pg_group.h pg_log.h \
31+
)
32+
else
2733
GLOBALBKI_SRCS=$(addprefix ../../include/catalog/, \
2834
pg_database.h pg_variable.h pg_shadow.h \
2935
pg_group.h pg_log.h \
3036
)
37+
endif
3138

39+
ifdefMB
40+
LOCALBKI_SRCS=$(addprefix ../../include/catalog/, \
41+
pg_proc.h pg_type.h pg_attribute_mb.h pg_class_mb.h \
42+
pg_inherits.h pg_index.h pg_version.h pg_statistic.h \
43+
pg_operator.h pg_opclass.h pg_am.h pg_amop.h pg_amproc.h \
44+
pg_language.h pg_parg.h \
45+
pg_aggregate.h pg_ipl.h pg_inheritproc.h \
46+
pg_rewrite.h pg_listener.h pg_description.h indexing.h \
47+
)
48+
else
3249
LOCALBKI_SRCS=$(addprefix ../../include/catalog/, \
3350
pg_proc.h pg_type.h pg_attribute.h pg_class.h \
3451
pg_inherits.h pg_index.h pg_version.h pg_statistic.h \
@@ -37,7 +54,7 @@ LOCALBKI_SRCS= $(addprefix ../../include/catalog/, \
3754
pg_aggregate.h pg_ipl.h pg_inheritproc.h \
3855
pg_rewrite.h pg_listener.h pg_description.h indexing.h \
3956
)
40-
57+
endif
4158
global1.bki.source:$(GENBKI)$(GLOBALBKI_SRCS)
4259
sh$(SHOPTS)$(GENBKI)$(BKIOPTS)$(GLOBALBKI_SRCS)>$@2>global1.description
4360

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp