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 BE4BAD1C9E1 for ; Wed, 10 Mar 2004 22:50:38 +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 11446-08 for ; Wed, 10 Mar 2004 18:50:39 -0400 (AST) Received: from localhost.localdomain (unknown [200.245.23.5]) by svr1.postgresql.org (Postfix) with ESMTP id D5A07D1C98E for ; Wed, 10 Mar 2004 18:50:34 -0400 (AST) Received: from yahoo.com.br (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id i2AN0EOL002693 for ; Wed, 10 Mar 2004 20:00:24 -0300 Message-ID: <404F9DFE.7000306@yahoo.com.br> Date: Wed, 10 Mar 2004 20:00:14 -0300 From: Daniel Henrique Alves Lima Reply-To: email_daniel_h@yahoo.com.br User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: About pg_dump Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/123 X-Sequence-Number: 17222 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 !!!!