Re: move whole schema to a new tablespace

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Rhys Stewart" <rhys(dot)stewart(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: move whole schema to a new tablespace
Date: 2007-10-09 14:36:15
Message-ID: dcc563d10710090736p1c49648ftb1e7232248b3ee66@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/9/07, Rhys Stewart <rhys(dot)stewart(at)gmail(dot)com> wrote:
> Hi all,
> short of issuing single commands for each table is there a way to move
> the an entire schema to a new tablespace, indices and all?

I'm pretty sure you're gonna have to write a short pl/pgsql script to do that.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2007-10-09 14:38:59 disjoint union types
Previous Message Albe Laurenz 2007-10-09 14:13:46 Re: DB upgrade