1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

Replace RelidGetNamespaceId() by get_rel_namespace().

This commit is contained in:
Peter Eisentraut
2003-01-12 18:19:37 +00:00
parent 6f4855842c
commit 13437d1e9c
3 changed files with 4 additions and 28 deletions

View File

@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.197 2003/01/10 22:03:27 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.198 2003/01/12 18:19:37 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -419,7 +419,7 @@ ExecCheckXactReadOnly(Query *parsetree, CmdType operation)
if (!rte->checkForWrite)
continue;
if (isTempNamespace(RelidGetNamespaceId(rte->relid)))
if (isTempNamespace(get_rel_namespace(rte->relid)))
continue;
goto fail;