From 1cfd2012a6cab78fd5e4cf126f956578c0f4e1ed Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 16 Sep 2004 21:08:12 +0000 Subject: [PATCH] Remove erroneous Assert, per example from Kris Jurka. --- src/backend/utils/mmgr/portalmem.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/utils/mmgr/portalmem.c b/src/backend/utils/mmgr/portalmem.c index dddd416187..d787597713 100644 --- a/src/backend/utils/mmgr/portalmem.c +++ b/src/backend/utils/mmgr/portalmem.c @@ -12,7 +12,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.72 2004/09/16 16:58:36 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/16 21:08:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -679,10 +679,6 @@ AtSubCleanup_Portals(SubTransactionId mySubid) if (portal->createSubid != mySubid) continue; - /* AtSubAbort_Portals should have fixed these: */ - Assert(portal->status != PORTAL_ACTIVE); - Assert(portal->resowner == NULL); - /* Zap it. */ PortalDrop(portal, false); }