Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita5e9445

Browse files
author
Hiroshi Inoue
committed
Add the check CommonSpecialPortal in use(my fault)
1 parent9110b33 commita5e9445

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/backend/commands/vacuum.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.140 2000/02/21 07:49:40 inoue Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.141 2000/02/24 04:34:38 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -107,6 +107,9 @@ void CommonSpecialPortalOpen(void)
107107
{
108108
char*pname;
109109

110+
111+
if (CommonSpecialPortalInUse)
112+
elog(ERROR,"CommonSpecialPortal is in use");
110113
/*
111114
* Create a portal for safe memory across transactions. We need to
112115
* palloc the name space for it because our hash function expects the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp