Fix from Jan agreed with by Massimo.
authorBruce Momjian <[email protected]>
Sat, 7 Dec 1996 04:36:38 +0000 (04:36 +0000)
committerBruce Momjian <[email protected]>
Sat, 7 Dec 1996 04:36:38 +0000 (04:36 +0000)
src/backend/commands/async.c

index 9bdb3a931052bce2713043270a3532cd133d77eb..49f099c970a5c7b0f17c83d053a1d25a87782a68 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.7 1996/11/16 08:08:44 bryanh Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.8 1996/12/07 04:36:38 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -283,6 +283,9 @@ Async_NotifyAtCommit()
        }
        ReleaseBuffer(b);
        }
+       heap_endscan(sRel);
+       heap_close(lRel);
+
        CommitTransactionCommand();
        ClearPendingNotify();
    }