aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-05-06 16:15:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-05-06 16:15:21 +0000
commit421c66b76c3d51e764bd3d8ea25acae89a5b222d (patch)
treee6355dfede0300cfde11dc78fdbb8e25557c3061 /src/tutorial/basics.source
parentab4e386a8069e3228536f1044f23bbf09f85204b (diff)
downloadpostgresql-421c66b76c3d51e764bd3d8ea25acae89a5b222d.tar.gz
postgresql-421c66b76c3d51e764bd3d8ea25acae89a5b222d.zip
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.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions