Re: ALTER TABLESPACE ... MOVE ALL TO ...
От | Tom Lane |
---|---|
Тема | Re: ALTER TABLESPACE ... MOVE ALL TO ... |
Дата | |
Msg-id | 14946.1390232776@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: ALTER TABLESPACE ... MOVE ALL TO ... (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: ALTER TABLESPACE ... MOVE ALL TO ...
|
Список | pgsql-hackers |
Stephen Frost <sfrost@snowman.net> writes: > So you're still looking for an 'OWNED' noise word to be added? Also, I > did add the ability to specify types of objects (it's often that we'll > have a "INDEXES" tablespace, so this made sense), so how about: > ALTER TABLESPACE name MOVE OWNED TO name opt_nowait > ALTER TABLESPACE name MOVE TABLES OWNED TO name opt_nowait > ALTER TABLESPACE name MOVE INDEXES OWNED TO name opt_nowait > ALTER TABLESPACE name MOVE MATERIALIZED VIEWS OWNED TO name opt_nowait > Removing the 'ALL' entirely? What if you're a superuser and you want to move everybody's objects (perhaps in preparation for dropping the tablespace)? I think there's value in both the ALL and OWNED forms. regards, tom lane
В списке pgsql-hackers по дате отправления: