head	1.24;
access;
symbols
	REL9_0_0:1.24
	REL9_1_ALPHA1:1.24
	REL9_0_RC1:1.24
	REL9_0_BETA4:1.24
	REL9_0_STABLE:1.24.0.14
	REL9_0_BETA3:1.24
	REL9_0_BETA2:1.24
	REL7_4_29:1.21
	REL8_0_25:1.22
	REL8_1_21:1.22
	REL8_2_17:1.22
	REL8_3_11:1.23
	REL8_4_4:1.24
	REL9_0_BETA1:1.24
	REL9_0_ALPHA5_BRANCH:1.24.0.12
	REL9_0_ALPHA5:1.24
	REL7_4_28:1.21
	REL8_0_24:1.22
	REL8_1_20:1.22
	REL8_2_16:1.22
	REL8_3_10:1.23
	REL8_4_3:1.24
	REL9_0_ALPHA4:1.24
	REL9_0_ALPHA4_BRANCH:1.24.0.10
	REL8_5_ALPHA3:1.24
	REL8_5_ALPHA3_BRANCH:1.24.0.8
	REL7_4_27:1.21
	REL8_0_23:1.22
	REL8_1_19:1.22
	REL8_2_15:1.22
	REL8_3_9:1.23
	REL8_4_2:1.24
	REL8_5_ALPHA2:1.24
	REL8_5_ALPHA2_BRANCH:1.24.0.6
	REL7_4_26:1.21
	REL8_0_22:1.22
	REL8_1_18:1.22
	REL8_2_14:1.22
	REL8_3_8:1.23
	REL8_4_1:1.24
	REL8_5_ALPHA1:1.24
	REL8_5_ALPHA1_BRANCH:1.24.0.4
	REL8_4_STABLE:1.24.0.2
	REL8_4_0:1.24
	REL8_4_RC2:1.24
	REL8_4_RC1:1.24
	REL8_4_BETA2:1.24
	REL8_4_BETA1:1.24
	REL7_4_25:1.21
	REL8_0_21:1.22
	REL8_1_17:1.22
	REL8_2_13:1.22
	REL8_3_7:1.23
	REL7_4_24:1.21
	REL8_0_20:1.22
	REL8_1_16:1.22
	REL8_2_12:1.22
	REL8_3_6:1.23
	REL7_4_23:1.21
	REL8_0_19:1.22
	REL8_1_15:1.22
	REL8_2_11:1.22
	REL8_3_5:1.23
	REL7_4_22:1.21
	REL8_0_18:1.22
	REL8_1_14:1.22
	REL8_2_10:1.22
	REL8_3_4:1.23
	REL7_4_21:1.21
	REL8_0_17:1.22
	REL8_1_13:1.22
	REL8_2_9:1.22
	REL8_3_3:1.23
	REL7_4_20:1.21
	REL8_0_16:1.22
	REL8_1_12:1.22
	REL8_2_8:1.22
	REL8_3_2:1.23
	REL8_2_7:1.22
	REL8_3_1:1.23
	REL8_3_STABLE:1.23.0.2
	REL8_3_0:1.23
	REL8_3_RC2:1.23
	REL7_3_21:1.21
	REL7_4_19:1.21
	REL8_0_15:1.22
	REL8_1_11:1.22
	REL8_2_6:1.22
	REL8_3_RC1:1.23
	REL8_3_BETA4:1.23
	REL8_3_BETA3:1.23
	REL8_3_BETA2:1.23
	REL8_3_BETA1:1.23
	REL7_3_20:1.21
	REL7_4_18:1.21
	REL8_0_14:1.22
	REL8_1_10:1.22
	REL8_2_5:1.22
	REL7_3_19:1.21
	REL7_4_17:1.21
	REL8_0_13:1.22
	REL8_1_9:1.22
	REL8_2_4:1.22
	REL8_0_12:1.22
	REL8_1_8:1.22
	REL8_2_3:1.22
	REL7_3_18:1.21
	REL7_4_16:1.21
	REL8_0_11:1.22
	REL8_1_7:1.22
	REL8_2_2:1.22
	REL8_0_10:1.22
	REL8_1_6:1.22
	REL8_2_1:1.22
	REL7_4_15:1.21
	REL7_3_17:1.21
	REL8_2_STABLE:1.22.0.8
	REL8_2_0:1.22
	REL8_2_RC1:1.22
	REL8_2_BETA3:1.22
	REL8_2_BETA2:1.22
	REL8_1_5:1.22
	REL8_0_9:1.22
	REL7_4_14:1.21
	REL7_3_16:1.21
	REL8_2_BETA1:1.22
	REL7_3_15:1.21
	REL7_4_13:1.21
	REL8_0_8:1.22
	REL8_1_4:1.22
	REL7_3_14:1.21
	REL7_4_12:1.21
	REL8_0_7:1.22
	REL8_1_3:1.22
	REL7_3_13:1.21
	REL7_4_11:1.21
	REL8_0_6:1.22
	REL8_1_2:1.22
	REL7_3_12:1.21
	REL7_4_10:1.21
	REL8_0_5:1.22
	REL8_1_1:1.22
	REL8_1_STABLE:1.22.0.6
	REL8_1_0:1.22
	REL8_1_0RC1:1.22
	REL8_1_0BETA4:1.22
	REL8_1_0BETA3:1.22
	REL7_3_11:1.21
	REL7_4_9:1.21
	REL8_0_4:1.22
	REL8_1_0BETA2:1.22
	REL8_1_0BETA1:1.22
	REL7_2_8:1.17
	REL7_3_10:1.21
	REL7_4_8:1.21
	REL8_0_3:1.22
	REL8_0_2:1.22
	REL7_2_7:1.17
	REL7_3_9:1.21
	REL7_4_7:1.21
	REL8_0_1:1.22
	REL8_0_STABLE:1.22.0.4
	REL8_0_0:1.22.0.2
	REL8_0_0RC5:1.22
	REL8_0_0RC4:1.22
	REL8_0_0RC3:1.22
	REL8_0_0RC2:1.22
	REL8_0_0RC1:1.22
	REL8_0_0BETA5:1.22
	REL8_0_0BETA4:1.22
	REL7_4_6:1.21
	REL7_3_8:1.21
	REL7_2_6:1.17
	REL8_0_0BETA3:1.22
	REL8_0_0BETA2:1.22
	REL7_2_5:1.17
	REL7_4_5:1.21
	REL7_3_7:1.21
	REL7_4_4:1.21
	REL8_0_0BETA1:1.22
	REL7_4_3:1.21
	REL7_4_2:1.21
	REL7_3_6:1.21
	REL7_4_1:1.21
	REL7_3_5:1.21
	REL7_4:1.21
	REL7_4_RC2:1.21
	REL7_4_STABLE:1.21.0.6
	REL7_4_RC1:1.21
	REL7_4_BETA5:1.21
	REL7_4_BETA4:1.21
	REL7_4_BETA3:1.21
	REL7_4_BETA2:1.21
	WIN32_DEV:1.21.0.4
	REL7_4_BETA1:1.21
	REL7_3_4:1.21
	REL7_3_2:1.21
	REL7_2_4:1.17
	REL7_3_STABLE:1.21.0.2
	REL7_2_3:1.17
	REL7_2_STABLE:1.17.0.2
	REL7_2:1.17
	REL7_2_RC2:1.17
	REL7_2_RC1:1.17
	REL7_2_BETA5:1.17
	REL7_2_BETA4:1.17
	REL7_2_BETA3:1.17
	REL7_2_BETA2:1.17
	REL7_2_BETA1:1.17
	REL7_1_2:1.15
	REL7_1_STABLE:1.15.0.2
	REL7_1_BETA:1.15
	REL7_1_BETA3:1.15
	REL7_1_BETA2:1.15
	REL7_1:1.15
	REL7_0_PATCHES:1.7.0.2
	REL7_0:1.7
	REL6_5_PATCHES:1.3.0.2
	REL6_5:1.3
	REL6_4:1.2.0.2;
locks; strict;
comment	@# @;


1.24
date	2008.02.19.10.30.09;	author petere;	state Exp;
branches;
next	1.23;

1.23
date	2007.01.20.17.16.13;	author petere;	state Exp;
branches;
next	1.22;

1.22
date	2003.11.29.19.52.02;	author pgsql;	state Exp;
branches;
next	1.21;

1.21
date	2002.09.04.15.45.50;	author tgl;	state Exp;
branches;
next	1.20;

1.20
date	2002.08.08.07.47.43;	author ishii;	state Exp;
branches;
next	1.19;

1.19
date	2002.08.06.05.40.45;	author ishii;	state Exp;
branches;
next	1.18;

1.18
date	2002.07.18.02.02.30;	author ishii;	state Exp;
branches;
next	1.17;

1.17
date	2001.09.22.08.44.47;	author ishii;	state Exp;
branches;
next	1.16;

1.16
date	2001.09.06.04.57.29;	author ishii;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.30.20.36.11;	author petere;	state Exp;
branches;
next	1.14;

1.14
date	2000.10.30.10.40.28;	author ishii;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.25.19.44.44;	author tgl;	state Exp;
branches;
next	1.12;

1.12
date	2000.10.20.21.03.53;	author petere;	state Exp;
branches;
next	1.11;

1.11
date	2000.10.12.06.06.49;	author ishii;	state Exp;
branches;
next	1.10;

1.10
date	2000.08.31.16.10.56;	author petere;	state Exp;
branches;
next	1.9;

1.9
date	2000.08.27.10.40.48;	author ishii;	state Exp;
branches;
next	1.8;

1.8
date	2000.05.29.05.45.34;	author tgl;	state Exp;
branches;
next	1.7;

1.7
date	2000.01.19.02.58.57;	author petere;	state Exp;
branches;
next	1.6;

1.6
date	2000.01.13.01.08.14;	author ishii;	state Exp;
branches;
next	1.5;

1.5
date	99.12.13.22.34.56;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	99.12.09.19.15.31;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	99.02.02.18.51.21;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	98.07.26.04.31.03;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	98.07.24.03.31.54;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.24
log
@Refactor backend makefiles to remove lots of duplicate code
@
text
@#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for utils/mb
#
# IDENTIFICATION
#    $PostgreSQL: pgsql/src/backend/utils/mb/Makefile,v 1.23 2007/01/20 17:16:13 petere Exp $
#
#-------------------------------------------------------------------------

subdir = src/backend/utils/mb
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

OBJS = encnames.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o

include $(top_srcdir)/src/backend/common.mk

clean distclean maintainer-clean:
	$(MAKE) -C conversion_procs $@@
@


1.23
log
@Remove remains of old depend target.
@
text
@d7 1
a7 1
#    $PostgreSQL: pgsql/src/backend/utils/mb/Makefile,v 1.22 2003/11/29 19:52:02 pgsql Exp $
a15 1
DIRS = conversion_procs
d17 1
a17 3
all install installdirs: SUBSYS.o

uninstall distprep:
d20 1
a20 5
	rm -f SUBSYS.o $(OBJS)
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@; done

SUBSYS.o: $(OBJS)
	$(LD) $(LDREL) $(LDOUT) $@@ $^
@


1.22
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d7 1
a7 1
#    $PostgreSQL: /cvsroot/pgsql-server/src/backend/utils/mb/Makefile,v 1.21 2002/09/04 15:45:50 tgl Exp $
a27 7

depend dep:
	$(CC) -MM $(CFLAGS) *.c >depend

ifeq (depend,$(wildcard depend))
include depend
endif
@


1.21
log
@Avoid multiple scans of utils/mb/conversion_procs/ subdirectories during
'make install'; there are enough of 'em that this slowed down the make
noticeably.  Ensure that 'all' is the default make target in all these
directories (defaulting to 'make install' is surprising and dangerous
IMHO).  Fix a couple small typos.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql-server/src/backend/utils/mb/Makefile,v 1.20 2002/08/08 07:47:43 ishii Exp $
@


1.20
log
@Address build problems on cygwin and (hopefully) AIX.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql-server/src/backend/utils/mb/Makefile,v 1.19 2002/08/06 05:40:45 ishii Exp $
d18 3
a20 1
all install installdirs uninstal distprep: SUBSYS.o
@


1.19
log
@Add SQL99 CONVERT() function.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql-server/src/backend/utils/mb/Makefile,v 1.18 2002/07/18 02:02:30 ishii Exp $
a18 1
	@@for dir in $(DIRS); do $(MAKE) -C $$dir $@@ || exit; done
a24 1
	@@for dir in $(DIRS); do $(MAKE) -C $$dir all || exit; done
@


1.18
log
@I have committed many support files for CREATE CONVERSION. Default
conversion procs and conversions are added in initdb. Currently
supported conversions are:

UTF-8(UNICODE) <--> SQL_ASCII, ISO-8859-1 to 16, EUC_JP, EUC_KR,
		    EUC_CN, EUC_TW, SJIS, BIG5, GBK, GB18030, UHC,
		    JOHAB, TCVN

EUC_JP <--> SJIS
EUC_TW <--> BIG5
MULE_INTERNAL <--> EUC_JP, SJIS, EUC_TW, BIG5

Note that initial contents of pg_conversion system catalog are created
in the initdb process. So doing initdb required is ideal, it's
possible to add them to your databases by hand, however. To accomplish
this:

psql -f your_postgresql_install_path/share/conversion_create.sql your_database

So I did not bump up the version in cataversion.h.

TODO:
Add more conversion procs
Add [CASCADE|RESTRICT] to DROP CONVERSION
Add tuples to pg_depend
Add regression tests
Write docs
Add SQL99 CONVERT command?
--
Tatsuo Ishii
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.17 2001/09/22 08:44:47 ishii Exp $
d27 1
a27 1
	$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
@


1.17
log
@Remove test drivers
Also fix comment in conv.c.
@
text
@d7 1
a7 1
#    $Header: /cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.16 2001/09/06 04:57:29 ishii Exp $
d15 2
a16 1
OBJS = encnames.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o
d18 6
a23 1
all: SUBSYS.o
d26 1
a30 3

clean: 
	rm -f SUBSYS.o $(OBJS)
@


1.16
log
@Commit Karel's patch.

-------------------------------------------------------------------
Subject: Re: [PATCHES] encoding names
From: Karel Zak <zakkr@@zf.jcu.cz>
To: Peter Eisentraut <peter_e@@gmx.net>
Cc: pgsql-patches <pgsql-patches@@postgresql.org>
Date: Fri, 31 Aug 2001 17:24:38 +0200

On Thu, Aug 30, 2001 at 01:30:40AM +0200, Peter Eisentraut wrote:
> > 		- convert encoding 'name' to 'id'
>
> I thought we decided not to add functions returning "new" names until we
> know exactly what the new names should be, and pending schema

 Ok, the patch not to add functions.

> better
>
>     ...(): encoding name too long

 Fixed.

 I found new bug in command/variable.c in parse_client_encoding(), nobody
probably never see this error:

if (pg_set_client_encoding(encoding))
{
	elog(ERROR, "Conversion between %s and %s is not supported",
                     value, GetDatabaseEncodingName());
}

because pg_set_client_encoding() returns -1 for error and 0 as true.
It's fixed too.

 IMHO it can be apply.

		Karel
PS:

    * following files are renamed:

src/utils/mb/Unicode/KOI8_to_utf8.map  -->
        src/utils/mb/Unicode/koi8r_to_utf8.map

src/utils/mb/Unicode/WIN_to_utf8.map  -->
        src/utils/mb/Unicode/win1251_to_utf8.map

src/utils/mb/Unicode/utf8_to_KOI8.map -->
        src/utils/mb/Unicode/utf8_to_koi8r.map

src/utils/mb/Unicode/utf8_to_WIN.map -->
        src/utils/mb/Unicode/utf8_to_win1251.map

   * new file:

src/utils/mb/encname.c

   * removed file:

src/utils/mb/common.c

--
 Karel Zak  <zakkr@@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.15 2000/11/30 20:36:11 petere Exp $
a20 11

utftest.o: utftest.c conv.c wchar.c mbutils.c

sjistest: sjistest.o palloc.o encnames.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@@

liketest: liketest.o palloc.o $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@@

utftest: utftest.o palloc.o encnames.o wstrcmp.o wstrncmp.o big5.o
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@@
@


1.15
log
@Make all commands that link a program look like

$(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@@

This form seemed to be the most portable, readable, and logical, but in any
case it's better than having a dozen different ones in the tree.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.14 2000/10/30 10:40:28 ishii Exp $
d15 1
a15 1
OBJS = common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o
d24 1
a24 1
sjistest: sjistest.o palloc.o common.o mbutils.o wchar.o wstrcmp.o wstrncmp.o big5.o
d30 1
a30 1
utftest: utftest.o palloc.o common.o wstrcmp.o wstrncmp.o big5.o
@


1.14
log
@Add support for code conversion between Unicode and other encodings.
Supported encodings are: EUC_JP, EUC_CN, EUC_KR, EUC_TW, Shift JIS,
Big5, ISO8859-[1-5].
TODO: testings! and documentations...
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.13 2000/10/25 19:44:44 tgl Exp $
d25 1
a25 1
	$(CC) -o $@@ $^ $(CFLAGS) $(LDFLAGS)
d28 1
a28 1
	$(CC) -o $@@ $^ $(CFLAGS) $(LDFLAGS)
d31 1
a31 1
	$(CC) -o $@@ $^ $(CFLAGS) $(LDFLAGS)
@


1.13
log
@Support SET/SHOW/RESET client_encoding and server_encoding even when
MULTIBYTE support is not compiled (you just can't set them to anything
but SQL_ASCII).  This should reduce interoperability problems between
MB-enabled clients and non-MB-enabled servers.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.12 2000/10/20 21:03:53 petere Exp $
a30 6
	$(CC) -o $@@ $^ $(CFLAGS) $(LDFLAGS)

uconv: uconv.o palloc.o common.o conv.o wchar.o big5.o mbutils.o
	$(CC) -o $@@ $^ $(CFLAGS) $(LDFLAGS)

uconv2: uconv2.o palloc.o common.o conv.o wchar.o big5.o mbutils.o
@


1.12
log
@Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.11 2000/10/12 06:06:49 ishii Exp $
d15 1
a15 2
OBJS = common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o \
       big5.o
d24 1
a24 1
sjistest: sjistest.o palloc.o common.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o big5.o
d30 1
a30 1
utftest: utftest.o palloc.o common.o wstrcmp.o wstrncmp.o variable.o big5.o
@


1.11
log
@Support for conversion between UNICODE and other encodings

currently ISO8859-[1-5] and EUC_JP are supported.
support for other encodings will be coming soon.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.10 2000/08/31 16:10:56 petere Exp $
d23 1
a23 5
palloc.o: palloc.c
	$(CC) -c $(CFLAGS) palloc.c

sjistest.o: sjistest.c
	$(CC) -c $(CFLAGS) sjistest.c
d25 2
a26 2
liketest.o: liketest.c
	$(CC) -c $(CFLAGS) liketest.c
d28 2
a29 2
uconv.o: uconv.c
	$(CC) -c $(CFLAGS) uconv.c
d31 2
a32 2
uconv2.o: uconv2.c
	$(CC) -c $(CFLAGS) uconv2.c
d34 2
a35 2
utftest.o: utftest.c conv.c wchar.c mbutils.c
	$(CC) -c $(CFLAGS) utftest.c
d37 2
a38 24
sjistest: $(OBJS) sjistest.o palloc.o
	$(CC) -o sjistest sjistest.o palloc.o \
	common.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o \
       big5.o $(LDFLAGS)

liketest: $(OBJS) liketest.o palloc.o
	$(CC) -o liketest liketest.o palloc.o conv.o \
	common.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o \
       big5.o $(LDFLAGS)

utftest: $(OBJS) utftest.o palloc.o
	$(CC) -o utftest utftest.o palloc.o \
	common.o wstrcmp.o wstrncmp.o variable.o \
       big5.o $(LDFLAGS)

uconv: uconv.o palloc.o
	$(CC) -o uconv uconv.o palloc.o \
		common.o conv.o wchar.o \
       big5.o mbutils.o $(LDFLAGS)

uconv2: uconv2.o palloc.o
	$(CC) -o uconv2 uconv2.o palloc.o \
		common.o conv.o wchar.o \
       big5.o mbutils.o $(LDFLAGS)
@


1.10
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.9 2000/08/27 10:40:48 ishii Exp $
d32 9
d50 15
@


1.9
log
@Change pg_mblen and pg_encoding_mblen return types from void
to int so that they return the number of whcars.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.8 2000/05/29 05:45:34 tgl Exp $
d11 3
a13 2
SRCDIR = ../../..
include ../../../Makefile.global
a50 1

@


1.8
log
@Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
@
text
@d7 1
a7 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.7 2000/01/19 02:58:57 petere Exp $
d22 16
a37 3
sjistest: $(OBJS)
	$(CC) -c $(CFLAGS) -DDEBUGMAIN conv.c
	$(CC) -o sjistest conv.o \
@


1.7
log
@Removed MBFLAGS from makefiles since it's now done in include/config.h.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.6 2000/01/13 01:08:14 ishii Exp $
a12 2

CFLAGS += -I../..
@


1.6
log
@Add UDC (User Defined Characters) support to SJIS/EUC_JP conversion
Update README so that it reflects all source file names
Add an entry to make sjistest (testing between SJIS/EUC_JP conversion)
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.5 1999/12/13 22:34:56 momjian Exp $
a14 3
ifdef MULTIBYTE
CFLAGS+= $(MBFLAGS)
endif
@


1.5
log
@New LDOUT makefile variable for QNX os.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.4 1999/12/09 19:15:31 momjian Exp $
d26 6
@


1.4
log
@Make LD -r as macros that can be changed for QNX.
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.3 1999/02/02 18:51:21 momjian Exp $
d25 1
a25 1
	$(LD) $(LDREL) -o SUBSYS.o $(OBJS)
@


1.3
log
@Included patches make some enhancements to the multi-byte support.

o allow to use Big5 (a Chinese encoding used in Taiwan) as a client
  encoding. In this case the server side encoding should be EUC_TW

o add EUC_TW and Big5 test cases to the regression and the mb test
  (contributed by Jonah Kuo)

o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was
  not correct (was 3 and now is 4)

o update documents (doc/README.mb and README.mb.jp)

o update psql helpfile (bin/psql/psqlHelp.h)

--
Tatsuo Ishii
t-ishii@@sra.co.jp
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.2 1998/07/26 04:31:03 scrappy Exp $
d25 1
a25 1
	$(LD) -r -o SUBSYS.o $(OBJS)
@


1.2
log
@
From: t-ishii@@sra.co.jp

As Bruce mentioned, this is due to the conflict among changes we made.
Included patches should fix the problem(I changed all MB to
MULTIBYTE). Please let me know if you have further problem.

P.S. I did not include pathces to configure and gram.c to save the
file size(configure.in and gram.y modified).
@
text
@d7 1
a7 1
#    $Header: /usr/local/cvsroot/pgsql/src/backend/utils/mb/Makefile,v 1.1 1998/07/24 03:31:54 scrappy Exp $
d19 2
a20 1
OBJS = common.o conv.o mbutils.o wchar.o wstrcmp.o wstrncmp.o variable.o
@


1.1
log
@
I really hope that I haven't missed anything in this one...

From: t-ishii@@sra.co.jp

Attached are patches to enhance the multi-byte support.  (patches are
against 7/18 snapshot)

* determine encoding at initdb/createdb rather than compile time

Now initdb/createdb has an option to specify the encoding. Also, I
modified the syntax of CREATE DATABASE to accept encoding option. See
README.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 the
modification 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 is
enabled. The reason having separate files is I couldn't find a way to
use ifdef or whatever in those files. I have to admit it looks
ugly. No way.

* support for PGCLIENTENCODING when issuing COPY command

commands/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 MB

New directory test/mb added.

* clean up source files

Basic idea is to have MB's own subdirectory for easier maintenance.
These are include/mb and backend/utils/mb.
@
text
@d7 1
a7 1
#    $Header: /mnt1/local/src/repository/pgsql/src/backend/utils/mb/Makefile,v 1.1 1998/07/20 10:18:58 t-ishii Exp $
d15 2
a16 2
ifdef MB
CFLAGS += -DMB=$(MB)
@
