Quick fix for subplan-related crash.
This commit is contained in:
parent
28d8b42ca5
commit
b946244c1c
@ -26,7 +26,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.64 1999/01/27 00:36:20 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.65 1999/01/27 16:48:20 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -376,7 +376,7 @@ ExecCheckPerms(CmdType operation,
|
||||
if (!ok)
|
||||
elog(ERROR, "%s: %s", rname.data, aclcheck_error_strings[aclcheck_result]);
|
||||
|
||||
if (parseTree->rowMark != NULL)
|
||||
if (parseTree != NULL && parseTree->rowMark != NULL)
|
||||
{
|
||||
foreach(lp, parseTree->rowMark)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user