pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Darley <pdarley@kinesis-cem.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Re: Can't dump and restore
Date: Tue, 1 Nov 2005 13:52:10 -0800
Message-ID: <PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.com> (raw)
In-Reply-To: <28422.1130881063@sss.pgh.pa.us>

Tom,

	You're correct, the new database was being created as UNICODE instead of
SQL_ASCII.  I'd never messed with encoding before, but I guess that the
default was changed some time after I originally made the database on 6.x.
Stupid mistake. :)

Thanks a bundle for your help!
Peter Darley

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, November 01, 2005 1:38 PM
To: Peter Darley
Cc: Pgsql-Admin
Subject: Re: [ADMIN] Can't dump and restore


"Peter Darley" <pdarley@kinesis-cem.com> writes:
> 	So, long and short, I think that everything should be SQL_ASCII, but even
> when it is, I get the error.

There is no way you're going to get that error if the encoding setting
is SQL_ASCII, so better look again.  "SHOW server_encoding" and "SHOW
client_encoding" might be revealing.

			regards, tom lane




view thread (5+ messages)

Message-ID: <PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.com>
Permalink:  ../PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.com/
Also on:    postgresql.org/message-id/PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.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-admin@postgresql.org
  Cc: pdarley@kinesis-cem.com, tgl@sss.pgh.pa.us
  Subject: Re: Can't dump and restore
  In-Reply-To: <PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.com>
  References: <28422.1130881063@sss.pgh.pa.us> <PDEOIIFFBIAABMGNJAGPGEFBDPAA.pdarley@kinesis-cem.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