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

Started by Tom Lanealmost 22 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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)