mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Quick fix for subplan-related crash.
This commit is contained in:
@ -26,7 +26,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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)
|
if (!ok)
|
||||||
elog(ERROR, "%s: %s", rname.data, aclcheck_error_strings[aclcheck_result]);
|
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)
|
foreach(lp, parseTree->rowMark)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user