default client encoding in postgresql.conf - Mailing list pgsql-hackers

From Robert Treat
Subject default client encoding in postgresql.conf
Date
Msg-id 200806121729.38330.xzilla@users.sourceforge.net
Whole thread Raw
Responses Re: default client encoding in postgresql.conf
List pgsql-hackers
looking in my freshly installed 8.3.3, I see this in the postgresql.conf

#client_encoding = sql_ascii            # actually, defaults to database
         # encoding
 

Now, certainly initdb can't know for sure what encoding a future database will 
be in, but since it does know what encoding template0 & friends will be in, 
and most databases are copied from those (including encoding), wouldn't a 
better default be to set it the encoding of template0? 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Overhauling GUCS
Next
From: Decibel!
Date:
Subject: Re: How to Sponsor a Feature