Re: [HACKERS] create database doesn't work well in MULTIBYTE mode - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] create database doesn't work well in MULTIBYTE mode
Date
Msg-id Pine.LNX.4.21.0002171813320.3047-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] create database doesn't work well in MULTIBYTE mode  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
On 2000-02-17, Thomas Lockhart mentioned:

> At the moment, if the code is compiled without MULTIBYTE enabled, it
> will silently ignore any "ENCODING=" clause in a CREATE DATABASE
> statement.

Huh?

template1=# create database foo with encoding='LATIN1';
ERROR:  Multi-byte support is not enabled

I believe that you have missed that a fair amount of work is being done in
the create_opt_encoding rule. Take a look.

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] psql and Control-C
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] psql and Control-C