Commit d47e10bf authored by Tom Lane's avatar Tom Lane

Bring RelationGetRelationName into sync with new temp rel names.

Quick hack -- need to decide which header should include the other.
parent 8804bdcd
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: rel.h,v 1.46 2001/06/01 02:41:36 tgl Exp $ * $Id: rel.h,v 1.47 2001/06/19 05:11:50 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -199,7 +199,7 @@ typedef Relation *RelationPtr; ...@@ -199,7 +199,7 @@ typedef Relation *RelationPtr;
#define RelationGetRelationName(relation) \ #define RelationGetRelationName(relation) \
(\ (\
(strncmp(RelationGetPhysicalRelationName(relation), \ (strncmp(RelationGetPhysicalRelationName(relation), \
"pg_temp.", 8) != 0) \ "pg_temp", 7) != 0) \
? \ ? \
RelationGetPhysicalRelationName(relation) \ RelationGetPhysicalRelationName(relation) \
: \ : \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment