postgresql/src/test/mb
Tom Lane 421c66b76c Modify CREATE DATABASE to enforce that the source database's encoding setting
must be used for the new database, except when copying from template0.
This is the same rule that we now enforce for locale settings, and it has
the same motivation: databases other than template0 might contain data that
would be invalid according to a different setting.  This represents another
step in a continuing process of locking down ways in which encoding violations
could occur inside the backend.  Per discussion of a few days ago.

In passing, fix pre-existing breakage of mbregress.sh, and fix up a couple
of ereport() calls in dbcommands.c that failed to specify sqlstate codes.
2009-05-06 16:15:21 +00:00
..
expected Change the backend to reject strings containing invalidly-encoded multibyte 2006-05-21 20:05:21 +00:00
sql unbreak unicode/utf8 test 2005-06-24 15:12:00 +00:00
mbregress.sh Modify CREATE DATABASE to enforce that the source database's encoding setting 2009-05-06 16:15:21 +00:00
README Modify CREATE DATABASE to enforce that the source database's encoding setting 2009-05-06 16:15:21 +00:00

$PostgreSQL: pgsql/src/test/mb/README,v 1.4 2009/05/06 16:15:21 tgl Exp $

README for multibyte regression test
							1998/7/22
							Tatsuo Ishii

This directory contains a set of tests for multibyte supporting
extentions for PostgreSQL. To run the test, simply type:

% sh mbregress.sh