Re: Suggestion: Explain how to move objects to the default tablespace in sql-altertable.html - Mailing list pgsql-admin

From Tom Lane
Subject Re: Suggestion: Explain how to move objects to the default tablespace in sql-altertable.html
Date
Msg-id 1734712.1638375405@sss.pgh.pa.us
Whole thread Raw
In response to Re: Suggestion: Explain how to move objects to the default tablespace in sql-altertable.html  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin
Holger Jakobs <holger@jakobs.com> writes:
> Since the default tablespace doesn't have to be mentioned in CREATing an 
> object, the information wouldn't be helpful there.
> But when ALTERing an object in order to move it to the default 
> tablespace, its name has to be mentioned explicitly. That's where it's 
> lacking.

It seems like the core misunderstanding here is closely associated
with the notion that the default tablespace is "unnamed".  Every
tablespace has a name.  I'm not sure where we might need to clarify
that, but I suspect it's somewhere around the default_tablespace
setting, not ALTER TABLE.

            regards, tom lane



pgsql-admin by date:

Previous
From: Holger Jakobs
Date:
Subject: Re: Suggestion: Explain how to move objects to the default tablespace in sql-altertable.html
Next
From: Sbob
Date:
Subject: sort output per alpha-numeric?