[Please CC the list, or I will be unable to provide any help]
On Thu, Jun 30, 2011 at 2:55 PM, Ronney M. de Castro
<ronney@pjf.mg.gov.br> wrote:
> The version is 8.4.
Does your server have a pt_BR.UTF8 locale installed? Assuming it's a
Unix box, locale -a should list what's available.
If so, do you get the same error if you manually execute the SQL query:
CREATE DATABASE foo ENCODING 'UTF8' TEMPLATE template0;
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company