Transaction safe Truncate

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Transaction safe Truncate
Дата
Msg-id 1037638820.29624.26.camel@jester
обсуждение исходный текст
Ответы Re: Transaction safe Truncate  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Transaction safe Truncate  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Didn't move anything anywhere.  Simply split cluster_rel into two parts.
rebuild_rel() does the rebuilding steps.  Truncate uses this skipping
the datacopy stage by calling with dataCopy = false.


If wanted (separate patch), the below could (should?) probably move to
heap.c:
rebuild_rel
make_new_heap
copy_heap_data
swap_relfilenodes

The below could (should?) move to index.c:
get_indexattr_list
recreate_indexattr

That leaves the below in cluster.c:
cluster_rel
cluster
check_cluster_ownership
get_table_to_cluster



--
Rod Taylor <rbt@rbt.ca>

Вложения

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: documentation fix
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CLUSTER ALL patch