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>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: 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 04:04:34
Message-ID: 6.1.1.1.0.20040820140126.046b9998@203.8.195.10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

At 01:47 PM 20/08/2004, Tom Lane wrote:
>But someone
>needs to take a close look at pg_dump's logic to see if this can work.

Not sure where the issues lie, but anything that can reside in a tablespace
(table, index,...anything else?), needs to dump it's definition without
reference to a tablespace, and pg_dump needs to be modified to dump the
tablespace name in the TOC entry, and pg_restore needs to maintain
'current' tablespace the same way it does schemas. Backend then needs to
obey the variable setting.

What have I missed? I can do the pg_dump stuff if noone else wants to.

----------------------------------------------------------------
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

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-20 04:21:49 Re: tablespace and sequences?
Previous Message Tom Lane 2004-08-20 03:47:17 Re: tablespace and sequences?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-20 04:09:37 Re: postgres uptime
Previous Message Bruce Momjian 2004-08-20 04:04:29 Re: postgres uptime

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-20 04:21:49 Re: tablespace and sequences?
Previous Message Andrew Francis 2004-08-20 03:47:25 Re: postgresql build on MS Visual studio 20