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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Change order of operations in ALTER TABLE SET TABLESPACE
Date: 2004-08-13 04:50:28
Message-ID: 20040813045028.D432B5E46D5@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Kris Jurka 2004-08-13 05:18:47 pgsql-server: New build for the 7.4.4 release.
Previous Message Bruce Momjian 2004-08-13 03:00:15 pgsql-server: Mention the installer doesn't run on NT4.