Re: tablespace and sequences?

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tablespace and sequences?
Date: 2004-08-19 08:31:17
Message-ID: Pine.LNX.4.58.0408191000080.31684@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32


> In point of fact I think this discussion is much ado about nothing, as
> there is already a workaround

Just call that a kludge as it means that the admin is expected to create
as many dummy and unknown (if you have a custom dump file) tablespaces as
necessary to please pg_restore.

These useless tablespaces just create a mess in the database, that I will
have to clean afterwards... if I can!

Then bad news, ISTM that altering the tablespace of an index, a sequence
or a schema is not implemented. So I'll have to move the files and links
around, and update manually the catalog entries, or possibly drop and
recreate all indexes... I hope I won't have large objects around, because
it might look really bad then. What a nice piece of restoration;-)

So basically I'll have created stupid directories and tablespaces and
there is no way to fix them afterwards even if they are meaningless:-(

> that is about as simple as anything that we would likely be able to
> substitute.

I really think a better job can and should be done, at least from the user
perspective.

--
Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Tom Lane 2004-08-19 14:21:34 Re: tablespace and sequences?
Previous Message Fabien COELHO 2004-08-19 07:40:04 Re: tablespace and sequences?

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-08-19 10:02:52 Re: PGPASSWORD and client tools
Previous Message Fabien COELHO 2004-08-19 07:40:04 Re: tablespace and sequences?

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Anass HAMMEDI 2004-08-19 10:13:35 postgresql build on MS Visual studio 2003
Previous Message Fabien COELHO 2004-08-19 07:40:04 Re: tablespace and sequences?