db encoding

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Postgresql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: db encoding
Date: 2003-10-06 17:35:52
Message-ID: 3F81A7F8.5080208@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32


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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-10-06 17:47:55 Re: db encoding
Previous Message Tom Lane 2003-10-06 17:26:35 Re: max_connections/shared_buffers (was Re: Beta4 Tag'd and Bundled ...)

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2003-10-06 17:47:55 Re: db encoding
Previous Message Andrew Dunstan 2003-10-06 16:01:38 signals on windows