Re: tablespace and sequences?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tablespace and sequences?
Date: 2004-08-20 09:08:48
Message-ID: 6.1.1.1.0.20040820190724.047b3998@203.8.195.10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

At 03:14 PM 20/08/2004, Tom Lane wrote:
>If we attempt
>to reload this mess with a different default tablespace for the parent
>object, what happens to the child in each case?

ISTM that for a table create with CREATE TABLE...TABLESPACE we should try
to preserve the tablespace when doing a dump/restore. If the table
'inherited' it's tablespace, then a dump/restore should do nothing (ie. not
issue a SET TABLESPACE).

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Reini Urban 2004-08-23 11:07:39 Re: initdb and postgres both no longer work...
Previous Message Fabien COELHO 2004-08-20 08:54:53 Re: tablespace and sequences?

Browse pgsql-hackers by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-20 09:11:35 Re: postgres uptime
Previous Message Fabien COELHO 2004-08-20 08:54:53 Re: tablespace and sequences?

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-08-20 11:00:23 Re: InitDB Failure on install
Previous Message Fabien COELHO 2004-08-20 08:54:53 Re: tablespace and sequences?