Re: ALTER TABLESPACE MOVE command tag tweak - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ALTER TABLESPACE MOVE command tag tweak
Date
Msg-id 20508.1403573126@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TABLESPACE MOVE command tag tweak  (Stephen Frost <sfrost@snowman.net>)
Responses Re: ALTER TABLESPACE MOVE command tag tweak  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: ALTER TABLESPACE MOVE command tag tweak  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> That it's more-or-less a bulk 'ALTER TABLE' operation is why I had been
> trying to think of a way to put it under that command.  What if we had a
> more general way to reference 'all objects in a tablespace'?
> "tablespace.*" or "ALL:TABLESAPCE"?  Are there other places which might
> benefit from being able to take and operate on all objects in a
> tablespace?

> Of course, we handle this in 'GRANT' with 'GRANT ON ALL TABLES', so why
> not 'ALTER TABLE ON ALL TABLES IN TABLESPACE <blah>'?  that does get
> pretty darn verbose but is at least a bit more in-line with what we have
> done before..

That's not a bad line of thought --- I doubt that verbosity is critical
here.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Supporting Windows SChannel as OpenSSL replacement
Next
From: Jeff Janes
Date:
Subject: tab completion for setting search_path