summaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-09-28 22:25:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-09-28 22:25:49 +0000
commit70b9b9b788ceb8d16479fb3e6c5a4a5784a45766 (patch)
tree38f09e2adecd5159ac0a0b36524844b8c9f2abd8 /src/tutorial/basics.source
parentae0b90f223b5cddce80353793340e77c58e215c1 (diff)
Change initdb and CREATE DATABASE to actively reject attempts to create
databases with encodings that are incompatible with the server's LC_CTYPE locale, when we can determine that (which we can on most modern platforms, I believe). C/POSIX locale is compatible with all encodings, of course, so there is still some usefulness to CREATE DATABASE's ENCODING option, but this will insulate us against all sorts of recurring complaints caused by mismatched settings. I moved initdb's existing LC_CTYPE-to-encoding mapping knowledge into a new src/port/ file so it could be shared by CREATE DATABASE.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions