pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: character problem
Date: Wed, 12 Oct 2005 19:02:31 -0400
Message-ID: <5056.1129158151@sss.pgh.pa.us> (raw)
In-Reply-To: <20051012212642.GA13571@phlogiston.dyndns.org>
References: <4349106C.6080206@infinito.it>
	<did562$epf$1@news.hub.org>
	<434A2792.1070106@infinito.it>
	<didaip$2me3$1@news.hub.org>
	<dideic$1ppa$1@news.hub.org>
	<20560.1128954447@sss.pgh.pa.us>
	<20051012212642.GA13571@phlogiston.dyndns.org>

Andrew Sullivan <ajs@crankycanuck.ca> writes:
> On Mon, Oct 10, 2005 at 10:27:27AM -0400, Tom Lane wrote:
>> No, SQL_ASCII represents the complete absence of any encoding
>> knowledge.  With this database setting, changing client_encoding is a
>> complete no-op.  Postgres will just absorb and re-emit strings exactly
>> as they were supplied originally, no matter what client_encoding is.

> The documents remain pretty confusing about this, assuming I still
> understand the current state of affairs (always a dangerous
> assumption).  The chart in
> <http://developer.postgresql.org/docs/postgres/multibyte.html;, for
> instance, says "SQL_ASCII" supports "ASCII".  I'm not sure what to do
> about this (I've noticed it before, and run into the same quandary).

You're right, the documentation basically doesn't explain this at all :-(
I'll try to add something.

			regards, tom lane



view thread (10+ messages)

Message-ID: <5056.1129158151@sss.pgh.pa.us>
Permalink:  ../5056.1129158151@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5056.1129158151@sss.pgh.pa.us

 · 

reply

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, ajs@crankycanuck.ca
  Subject: Re: character problem
  In-Reply-To: <5056.1129158151@sss.pgh.pa.us>
  References: <4349106C.6080206@infinito.it> <did562$epf$1@news.hub.org> <434A2792.1070106@infinito.it> <didaip$2me3$1@news.hub.org> <dideic$1ppa$1@news.hub.org> <20560.1128954447@sss.pgh.pa.us> <20051012212642.GA13571@phlogiston.dyndns.org> <5056.1129158151@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