Обсуждение: pgsql-server: Change order of operations in ALTER TABLE SET TABLESPACE

Поиск
Список
Период
Сортировка

pgsql-server: Change order of operations in ALTER TABLE SET TABLESPACE

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Change order of operations in ALTER TABLE SET TABLESPACE so that we
don't hold an open file reference to the original table at the end.
This is a good thing in any case, particularly so on Windows which
cannot drop the table file otherwise.

Modified Files:
--------------
    pgsql-server/src/backend/commands:
        tablecmds.c (r1.124 -> r1.125)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/tablecmds.c.diff?r1=1.124&r2=1.125)