Skip to content

Commit 1cfd201

Browse files
committed
Remove erroneous Assert, per example from Kris Jurka.
1 parent 257cccb commit 1cfd201

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/utils/mmgr/portalmem.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.72 2004/09/16 16:58:36 tgl Exp $
15+
* $PostgreSQL: pgsql/src/backend/utils/mmgr/portalmem.c,v 1.73 2004/09/16 21:08:12 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -679,10 +679,6 @@ AtSubCleanup_Portals(SubTransactionId mySubid)
679679
if (portal->createSubid != mySubid)
680680
continue;
681681

682-
/* AtSubAbort_Portals should have fixed these: */
683-
Assert(portal->status != PORTAL_ACTIVE);
684-
Assert(portal->resowner == NULL);
685-
686682
/* Zap it. */
687683
PortalDrop(portal, false);
688684
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy