X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9A786D1DA83 for ; Thu, 11 Mar 2004 15:01:37 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 81467-10 for ; Thu, 11 Mar 2004 11:01:34 -0400 (AST) Received: from smtp-out.net.ipl.pt (31.220.137.193.in-addr.arpa [193.137.220.31]) by svr1.postgresql.org (Postfix) with ESMTP id 28E56D1DAA7 for ; Thu, 11 Mar 2004 11:01:28 -0400 (AST) Received: (qmail 1110 invoked by uid 508); 11 Mar 2004 15:01:30 +0000 Received: from rutes@eselx.ipl.pt by smtp-int.net.ipl.pt by uid 89 with qmail-scanner (clamscan: 0.60. spamassassin: 2.55. Clear:RC:1(193.137.237.151):. Processed in 0.113533 secs); 11 Mar 2004 15:01:30 -0000 X-IPLNet-RcptTo: Multiple X-IPLNet-Authenticated: login X-IPLNet-RemoteInfo: rutes@eselx.ipl.pt Received: from unknown (HELO etur) (rutes@eselx.ipl.pt@193.137.237.151) by 0 with SMTP; 11 Mar 2004 15:01:30 +0000 Message-ID: <016701c40779$bbf9bd00$97ed89c1@etur> Reply-To: "Rute Solipa" From: "Rute Solipa" To: , References: <404F9DFE.7000306@yahoo.com.br> Subject: Re: About pg_dump Date: Thu, 11 Mar 2004 15:01:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/130 X-Sequence-Number: 17229 hi, i had to restore a database from a pg_dump and i'm having problems with the encoding. it seems that the pg_dump command doesn't keep the encoding information. does anybody can help me resolve this problem. thanks rute ----- Original Message ----- From: "Daniel Henrique Alves Lima" To: Sent: Wednesday, March 10, 2004 11:00 PM Subject: [SQL] About pg_dump > Hi, everybody ! > > I don't know if this is the best list to ask this question but if it > doesn't, please forgive me (should i try pgsl-general, maybe ?)... > We have a postgresql database in production and i've 2 questions > about pg_dumpall boring me. We "dump" both ddl and data as SQL commands, > so : > > 1. Does the created sql script respect the database encoding (will > chars be writen as utf-8 chars or iso-8859-1 char or ...) ? > 2. We've a bytea in one table. What exactly happens with the dumped > data ? Is there any trouble with it ? > > I believe that we must to worry now (earlier). I don't want to > expect until we must to restore database backup to descover that dumping > data is corrupted :-) > > > Thanks in advance !!!! > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > >