pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bushcraftrelf <cyclingrelf@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6246: character encoding for 64 bit
Date: Wed, 12 Oct 2011 12:09:05 -0700 (PDT)
Message-ID: <1318446545797-4896599.post@n5.nabble.com> (raw)
In-Reply-To: <4E9577B30200002500041EB4@gw.wicourts.gov>
References: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org>
	<loom.20111012T133820-528@post.gmane.org>
	<4E9577B30200002500041EB4@gw.wicourts.gov>


Kevin Grittner wrote:
> 
>  
> WIN1512 supports characters which are not supported by LATIN1.  If
> you sent such characters to the database, what would you expect to
> happen?
>  
> -Kevin
> 

Hi Kevin,

I forgot to mention a few things. One is that the problem only arises in
postgres 9.1 - I can create exactly the same databases and tables in 9.0 and
have no problems accessing them using psql 9.0.
Also, I set the client_encoding to "LATIN1" and so there should have been no
problem with a mismatch in encoding.

I have subsequently found that if I use psql 9.0 on the postgresql 9.1
server, then I can access the table as normal.

The main difference I have found (if it's any use) is that when I first open
psql 9.0, the \encoding is always set at UTF8 until I change it (which
postgres can convert to LATIN1). When I first open psql 9.1, the \encoding
is set at WIN1252 before I change it. WIN1252 cannot be converted to LATIN1.

For now, I have reverted to using Postgres 9.0, as I have no problems with
that version.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6246-character-encoding-for-64-bit-tp4888531p4896599.htm...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (9+ messages)  latest in thread

Message-ID: <1318446545797-4896599.post@n5.nabble.com>
Permalink:  ../1318446545797-4896599.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1318446545797-4896599.post@n5.nabble.com

 · 

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-bugs@postgresql.org
  Cc: cyclingrelf@gmail.com
  Subject: Re: BUG #6246: character encoding for 64 bit
  In-Reply-To: <1318446545797-4896599.post@n5.nabble.com>
  References: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org> <loom.20111012T133820-528@post.gmane.org> <4E9577B30200002500041EB4@gw.wicourts.gov> <1318446545797-4896599.post@n5.nabble.com>

* 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