X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 60CD211F61FE for ; Tue, 18 Apr 2006 09:05:15 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: 0.111 X-Spam-Level: X-Spam-Status: No, score=0.111 required=5 tests=[AWL=0.111] Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 9Wbn4xvUYmkU for ; Tue, 18 Apr 2006 09:05:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (unknown [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 8AA6B11F7DE5 for ; Tue, 18 Apr 2006 09:05:10 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (Tba08.t.pppool.de [89.55.186.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 2B841656CD for ; Tue, 18 Apr 2006 14:06:09 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 49D26181C1F3F for ; Tue, 18 Apr 2006 14:05:27 +0200 (CEST) Message-ID: <4444D607.1000309@logix-tt.com> Date: Tue, 18 Apr 2006 14:05:27 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: PostgreSQL SQL List Subject: Migrating a Database to a new tablespace X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archive-Number: 200604/113 X-Sequence-Number: 24922 Hello, What is the easiest way to migrate a complete database from one tablespace to another? ALTER DATABASE only allows to set the default tablespace, but not migrating the existing database. Thanks, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org