Commit a5e94458 authored by Hiroshi Inoue's avatar Hiroshi Inoue

Add the check CommonSpecialPortal in use(my fault)

parent 9110b33f
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.140 2000/02/21 07:49:40 inoue Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.141 2000/02/24 04:34:38 inoue Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -107,6 +107,9 @@ void CommonSpecialPortalOpen(void) ...@@ -107,6 +107,9 @@ void CommonSpecialPortalOpen(void)
{ {
char *pname; char *pname;
if (CommonSpecialPortalInUse)
elog(ERROR, "CommonSpecialPortal is in use");
/* /*
* Create a portal for safe memory across transactions. We need to * Create a portal for safe memory across transactions. We need to
* palloc the name space for it because our hash function expects the * palloc the name space for it because our hash function expects the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment