From: Tom Lane <tgl@sss.pgh.pa.us>
To: Salem Berhanu <salemb4@hotmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] postgres & server encodings
Date: Tue, 09 Aug 2005 11:59:27 -0400
Message-ID: <16705.1123603167@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY103-F36DC25F51006C5179B29E0EFB80@phx.gbl>
References: <BAY103-F36DC25F51006C5179B29E0EFB80@phx.gbl>
"Salem Berhanu" <salemb4@hotmail.com> writes:
> What exactly is the SQL_ASCII encoding in postgres?
SQL_ASCII isn't so much an encoding as the declaration that you don't
care about encodings. That setting simply disables encoding validity
checks and encoding conversions. The server will take any byte string
clients send it (barring only embedded zero bytes), and store and return
it unchanged.
Since it disables conversions, the notion of converting to another
encoding is pretty much meaningless :-(.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, salemb4@hotmail.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] postgres & server encodings
In-Reply-To: <16705.1123603167@sss.pgh.pa.us>
References: <BAY103-F36DC25F51006C5179B29E0EFB80@phx.gbl> <16705.1123603167@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox