postgresql/src/backend
Tom Lane 70b9b9b788 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.
2007-09-28 22:25:49 +00:00
..
access Some small tuptoaster improvements from Greg Stark. Avoid unnecessary 2007-09-26 23:29:10 +00:00
bootstrap Move session_start out of MyProcPort stucture and make it a global called MyStartTime, 2007-08-02 23:39:45 +00:00
catalog Just-in-time background writing strategy. This code avoids re-scanning 2007-09-25 20:03:38 +00:00
commands Change initdb and CREATE DATABASE to actively reject attempts to create 2007-09-28 22:25:49 +00:00
executor HOT updates. When we update a tuple without changing any of its indexed 2007-09-20 17:56:33 +00:00
lib Increase the initial size of StringInfo buffers to 1024 bytes (from 256); 2007-08-12 20:18:06 +00:00
libpq Fix GSS API pointer checking. 2007-09-14 15:58:02 +00:00
main Cleanup the bootstrap code a little, and rename "dummy procs" in the code 2007-03-07 13:35:03 +00:00
nodes HOT updates. When we update a tuple without changing any of its indexed 2007-09-20 17:56:33 +00:00
optimizer Create a function variable "join_search_hook" to let plugins override the 2007-09-26 18:51:51 +00:00
parser Fix Assert failure in ExpandColumnRefStar --- what I thought was a can't 2007-09-27 17:42:03 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). 2007-07-02 20:11:55 +00:00
postmaster Minor improvements in backup and recovery: 2007-09-26 22:36:30 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Make eval_const_expressions() preserve typmod when simplifying something like 2007-09-06 17:31:58 +00:00
snowball Add turkish stopword list. Thanks to Devrim GUNDUZ <devrim@CommandPrompt.com> 2007-09-07 14:46:43 +00:00
storage Dept. of second thoughts: fix loop in BgBufferSync so that the exit when 2007-09-25 22:11:48 +00:00
tcop Support SET FROM CURRENT in CREATE/ALTER FUNCTION, ALTER DATABASE, ALTER ROLE. 2007-09-03 18:46:30 +00:00
tsearch Fix crash of to_tsvector() function on huge input: compareWORD() 2007-09-26 10:09:57 +00:00
utils Add virtual transaction IDs to CSVLOG output, so that messages coming from 2007-09-27 18:15:36 +00:00
Makefile Tsearch2 functionality migrates to core. The bulk of this work is by 2007-08-21 01:11:32 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00