db encoding - Mailing list pgsql-hackers

From Andrew Dunstan
Subject db encoding
Date
Msg-id 3F81A7F8.5080208@dunslane.net
Whole thread Raw
Responses Re: db encoding
List pgsql-hackers
pg_encoding appears to have 2 personalities, (name=>number and vice 
versa) depending on whther or not its parameter begins with a digit 
(which is in itself fragile - what if you gave it "3foo"?).

However, from an initdb POV I am assuming that we are only interested in 
the name=>number conversion, even though initdb.sh does no apparent 
checking on the parameter it is passing to pg_encoding. Please tell me 
if this is incorrect.

thanks

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_connections/shared_buffers (was Re: Beta4 Tag'd and Bundled ...)
Next
From: Tom Lane
Date:
Subject: Re: db encoding