From: Tom Lane <tgl@sss.pgh.pa.us>
To: Phillip Smith <phillip.smith@weatherbeeta.com.au>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres Backup and Restore
Date: Sun, 10 Feb 2008 18:40:21 -0500
Message-ID: <11579.1202686821@sss.pgh.pa.us> (raw)
In-Reply-To: <00ca01c86c38$a47b6de0$9b0014ac@wbaus090>
References: <00ca01c86c38$a47b6de0$9b0014ac@wbaus090>
"Phillip Smith" <phillip.smith@weatherbeeta.com.au> writes:
> I've been thinking about this, and while I don't agree it's a bug, I think
> that perhaps PostgreSQL should raise a notice or warning that the
> destination database has different encoding than the file being restored...?
If Postgres actually *knows* that the encodings are different, it can
deal with that. The cases that are problematic are where the software
has been misinformed for one reason or another. I doubt that a warning
issued (or not) on the basis of misinformation will be especially helpful.
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, phillip.smith@weatherbeeta.com.au
Subject: Re: Postgres Backup and Restore
In-Reply-To: <11579.1202686821@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