Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EB9326502E5 for ; Thu, 28 Aug 2008 14:47:55 -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 93303-02 for ; Thu, 28 Aug 2008 14:47:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id D131B64FF8E for ; Thu, 28 Aug 2008 14:47:17 -0300 (ADT) Received: from commandprompt.com (CPE001b63afe888-CM001adea9c5a6.cpe.net.cable.rogers.com [99.236.211.160]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m7SHoKup029873 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 28 Aug 2008 10:50:22 -0700 Date: Thu, 28 Aug 2008 13:47:12 -0400 From: Andrew Sullivan To: pgsql-general@postgresql.org Subject: Re: Dumping/Restoring with constraints? Message-ID: <20080828174712.GB27283@commandprompt.com> Mail-Followup-To: Andrew Sullivan , pgsql-general@postgresql.org References: <48B5BC2A.5070104@wildenhain.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Thu, 28 Aug 2008 10:50:23 -0700 (PDT) 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/1038 X-Sequence-Number: 136868 On Thu, Aug 28, 2008 at 07:51:57AM +0800, Phoenix Kiula wrote: > system-provided way of checking for rows that may not be UTF8? Or to > even have a constraint to this effect, to disallow any non-UTF8 data > from getting in there? The latter should be in effect if your database encoding is UTF-8. What's the database encoding? A -- Andrew Sullivan ajs@commandprompt.com +1 503 667 4564 x104 http://www.commandprompt.com/