Re: db encoding - Mailing list pgsql-hackers

From Tom Lane
Subject Re: db encoding
Date
Msg-id 29618.1065462475@sss.pgh.pa.us
Whole thread Raw
In response to db encoding  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: db encoding
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 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.

That's correct.  I believe we intended to eliminate pg_encoding as a
separate program altogether, given a C version of initdb, since the C
code could perfectly well call pg_char_to_encoding and
pg_valid_server_encoding for itself.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: db encoding
Next
From: Andrew Dunstan
Date:
Subject: Re: db encoding