We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d8b42 commit b946244Copy full SHA for b946244
src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
26
*
27
28
* IDENTIFICATION
29
- * $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 $
30
31
*-------------------------------------------------------------------------
32
*/
@@ -376,7 +376,7 @@ ExecCheckPerms(CmdType operation,
376
if (!ok)
377
elog(ERROR, "%s: %s", rname.data, aclcheck_error_strings[aclcheck_result]);
378
379
- if (parseTree->rowMark != NULL)
+ if (parseTree != NULL && parseTree->rowMark != NULL)
380
{
381
foreach(lp, parseTree->rowMark)
382
0 commit comments