Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d47e10b

Browse files
committed
Bring RelationGetRelationName into sync with new temp rel names.
Quick hack -- need to decide which header should include the other.
1 parent 8804bdc commit d47e10b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/utils/rel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: rel.h,v 1.46 2001/06/01 02:41:36 tgl Exp $
10+
* $Id: rel.h,v 1.47 2001/06/19 05:11:50 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -199,7 +199,7 @@ typedef Relation *RelationPtr;
199199
#define RelationGetRelationName(relation) \
200200
(\
201201
(strncmp(RelationGetPhysicalRelationName(relation), \
202-
"pg_temp.", 8) != 0) \
202+
"pg_temp", 7) != 0) \
203203
? \
204204
RelationGetPhysicalRelationName(relation) \
205205
: \

0 commit comments

Comments
 (0)