Re: tablespace and sequences?

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tablespace and sequences?
Date: 2004-08-19 01:31:04
Message-ID: 412402D8.1090306@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

> It is a little bit different because a schema, a table or a function are
> database application issues and are normally addressed by pg_dump and
> pg_restore, although tablespaces are more an administration issue wrt disk
> layout and the like, which are likely to be different from one machine to
> another (compare with I obviously want the same schema/table/function for
> my application). So the notion of dump/restore of a tablespace need
> some careful thinking.
>
> But maybe I'm just stupid to dream that I could restore or transfer my
> data even if I used a tablespace somewhere? ;-)

OK, perhaps. It it not easy to implement however, since the tablespace
clause on indexes comes from the pg_get_indexdef() function and isn't
added by pg_dump.

Bruce - pg_dump TODO for --no-tablespace or something?

Chris

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2004-08-19 01:39:27 Re: tablespace and sequences?
Previous Message Fabien COELHO 2004-08-18 14:25:03 Re: tablespace and sequences?

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-19 01:37:47 Re: PGPASSWORD and client tools
Previous Message Bruce Momjian 2004-08-19 00:01:19 Re: [HACKERS] 8.0 libpq: missing get_home_path()

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-08-19 01:39:27 Re: tablespace and sequences?
Previous Message Bruce Momjian 2004-08-19 00:01:36 Re: 8.0 Beta 1 // Environment Vars // .pgpass