Re: propagating replica identity to partitions
От
Alvaro Herrera
Тема
Re: propagating replica identity to partitions
Дата
Msg-id
20190228222556.GA23981@alvherre.pgsql
Ответ на
Re: propagating replica identity to partitions (Robert Haas)
Список
Дерево обсуждения
propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera from 2ndQuadrant <alvherre@alvh.no-ip.org>
Re: propagating replica identity to partitions Dmitry Dolgov <9erthalion6@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Dmitry Dolgov <9erthalion6@gmail.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Michael Paquier <michael@paquier.xyz>
Re: propagating replica identity to partitions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: propagating replica identity to partitions Michael Paquier <michael@paquier.xyz>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: propagating replica identity to partitions Simon Riggs <simon@2ndquadrant.com>
Re: propagating replica identity to partitions Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: propagating replica identity to partitions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: propagating replica identity to partitions Simon Riggs <simon@2ndquadrant.com>
Re: propagating replica identity to partitions Simon Riggs <simon@2ndquadrant.com>
Re: propagating replica identity to partitions Robert Haas <robertmhaas@gmail.com>
Re: propagating replica identity to partitions Simon Riggs <simon@2ndquadrant.com>
Re: propagating replica identity to partitions Simon Riggs <simon@2ndquadrant.com>
On 2019-Feb-20, Robert Haas wrote: > On Wed, Feb 20, 2019 at 12:38 PM Alvaro Herrera > wrote: > > Maybe the ALL IN TABLESPACE and OWNED BY sub-forms should be split to a > > separate para. I suggest: > > > > : This form changes the table's tablespace to the specified tablespace > > : and moves the data file(s) associated with the table to the new > > : tablespace. Indexes on the table, if any, are not moved; but they > > : can be moved separately with additional SET TABLESPACE commands. > > : When applied to a partitioned table, nothing is moved, but any > > : partitions created afterwards with CREATE TABLE PARTITION OF > > : will use that tablespace. > > : > > : All > > : tables in the current database in a tablespace can be moved by using > > : the ALL IN TABLESPACE form, which will lock all tables to be moved > > : first and then move each one. This form also supports OWNED BY, > > : which will only move tables owned by the roles specified. If the > > : NOWAIT option is specified then the command will fail if it is > > : unable to acquire all of the locks required immediately. Note that > > : system catalogs are not moved by this command, use ALTER DATABASE or > > : explicit ALTER TABLE invocations instead if desired. The > > : information_schema relations are not considered part of the system > > : catalogs and will be moved. See also CREATE TABLESPACE. > > Seems reasonable. Pushed this bit, thanks. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления