Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8C6DF64FD40 for ; Fri, 29 Aug 2008 11:26:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 66745-09 for ; Fri, 29 Aug 2008 11:26:10 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.181]) by postgresql.org (Postfix) with ESMTP id 8CA2A64FD20 for ; Fri, 29 Aug 2008 11:26:16 -0300 (ADT) Received: by ik-out-1112.google.com with SMTP id c30so558287ika.3 for ; Fri, 29 Aug 2008 07:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=84GFlCm8+CKQlTvUjeFhQr2/Lx4LfFjmGR54hRAFLlY=; b=Qs9jKZ/BAR6z7cZ+Jkdta6DthIPBPehO6TIekDvXHG9Y2TbgKgpLR5RdLOjkz3dYbp btbIAJwl5ogh2MnAdQR9QaD7xwLn7lGt1+LOJNNNC22Rk96IkxwOqjegsUe2BPa4MPzq OxW2gZ2gk/6bPzN/QHlo4misV1wQVw5tR/2VA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oaxUkozPp88JPiw3/DJNYoRFGr0N6REAe2x0ZSALk9PIB0KTuXzkMAaBzKcsfZjQcL e+IkcZG+Oyuu7lQn2kKX0apBtTTikPHqHAugKlGN58k/GUK/87+9Ahhql+CuMyXPIIyQ TTt+Ig7ucpk+PjkQ98Bhc9tPvsbO4MiBA2Wmk= Received: by 10.210.43.10 with SMTP id q10mr1664940ebq.167.1220019974749; Fri, 29 Aug 2008 07:26:14 -0700 (PDT) Received: by 10.210.130.1 with HTTP; Fri, 29 Aug 2008 07:26:14 -0700 (PDT) Message-ID: Date: Fri, 29 Aug 2008 22:26:14 +0800 From: "Phoenix Kiula" To: "Andrew Sullivan" , pgsql-general@postgresql.org Subject: Re: Dumping/Restoring with constraints? In-Reply-To: <20080829133436.GG29463@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48B5BC2A.5070104@wildenhain.de> <20080828174712.GB27283@commandprompt.com> <20080829133436.GG29463@commandprompt.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/1111 X-Sequence-Number: 136941 Thanks Andrew. On the server (the DB to be dumped) everything is "UTF8". On my home server (where I would like to mirror the DB), this is the output: =# \l List of databases Name | Owner | Encoding -----------+-----------------+----------- postgres | postgres | SQL_ASCII pkiula | pkiula_pkiula | UTF8 template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII (4 rows) This is a fresh install as you can see. The database into which I am importing ("pkiula") is in fact listed as UTF8! Is this not enough?