Re: Omitting tablespace creation from pg_dumpall...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>, Chander Ganesan <chander(at)otg-nc(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Omitting tablespace creation from pg_dumpall...
Date: 2006-06-16 21:42:12
Message-ID: 918.1150494132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Should pg_dumpall be using the "SET default_tablespace = foo" method as
> well?

That would mean changing the semantics of CREATE DATABASE; currently it
copies the default tablespace from the template database, rather than
looking at default_tablespace. I'm unsure if that's a good idea or not.
None of the other properties of a database are handled that way.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wes 2006-06-16 21:50:09 Online backups and tar
Previous Message Tony Caduto 2006-06-16 20:33:26 Re: (no subject)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-06-16 22:01:32 Re: [GENERAL] Omitting tablespace creation from pg_dumpall...
Previous Message Bruce Momjian 2006-06-16 21:36:58 Re: pg_dump -Ft failed on Windows XP