Dump CLUSTER in pg_dump

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Dump CLUSTER in pg_dump
Дата
Msg-id 03c301c2de28$d2164c50$6500a8c0@fhp.internal
обсуждение исходный текст
Ответы Re: Dump CLUSTER in pg_dump  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-patches
Currently, the fact that an index is clustered is not dumped.  Unfortunately
the only way of dumping this information is with a cluster statement itself.

One possible improvement would be to sort clustered indexes first and dump
them first, that way the cluster operation does not have to do so much
reindexing.

Example output:

--
-- TOC entry 7 (OID 17078)
-- Name: test_idx; Type: INDEX; Schema: public; Owner: chriskl
--

CREATE INDEX test_idx ON test USING btree (a);

CLUSTER test_idx ON test;



Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Actual patch for last mail!
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: XML ouput for psql