git.postgresql.org Git - postgresql.git/commit
Wed, 6 May 2009 16:15:21 +0000 (16:15 +0000)
Wed, 6 May 2009 16:15:21 +0000 (16:15 +0000)
commit 421c66b76c3d51e764bd3d8ea25acae89a5b222d
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.
This is the main PostgreSQL git repository.
RSS
Atom