pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rute Solipa <rutes@eselx.ipl.pt>
Cc: email_daniel_h@yahoo.com.br
Cc: pgsql-sql@postgresql.org
Subject: Re: About pg_dump
Date: Thu, 11 Mar 2004 11:03:17 -0500
Message-ID: <20281.1079020997@sss.pgh.pa.us> (raw)
In-Reply-To: <016701c40779$bbf9bd00$97ed89c1@etur>
References: <404F9DFE.7000306@yahoo.com.br>
	<016701c40779$bbf9bd00$97ed89c1@etur>

"Rute Solipa" <rutes@eselx.ipl.pt> writes:
> it seems that the pg_dump command doesn't keep the encoding information.

As of 7.4.2 it does emit a SET client_encoding.

In prior releases, if you are manually creating the destination database
then you need to be careful to create it with the same encoding as before.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <20281.1079020997@sss.pgh.pa.us>
Permalink:  ../20281.1079020997@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20281.1079020997@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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rutes@eselx.ipl.pt, email_daniel_h@yahoo.com.br
  Subject: Re: About pg_dump
  In-Reply-To: <20281.1079020997@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