Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 937F763430E for ; Thu, 25 Jun 2009 16:05:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 11705-03 for ; Thu, 25 Jun 2009 16:05:51 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id 6CD8063433B for ; Thu, 25 Jun 2009 16:05:54 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1198) id DE5C075331E; Thu, 25 Jun 2009 19:05:52 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: The code to unlink dropped relations in X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090625190552.DE5C075331E@cvs.postgresql.org> Date: Thu, 25 Jun 2009 19:05:52 +0000 (UTC) From: heikki@postgresql.org (Heikki Linnakangas) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200906/330 X-Sequence-Number: 37534 Log Message: ----------- The code to unlink dropped relations in FinishPreparedTransaction() was acting like runs inside WAL recovery, but it doesn't. I must've copy-pasted this from a redo-function in the relation forks patch. Noticed by Tom Lane while he was looking through callers of smgrdounlink(). Modified Files: -------------- pgsql/src/backend/access/transam: twophase.c (r1.53 -> r1.54) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/twophase.c?r1=1.53&r2=1.54)