]> granicus.if.org Git - postgresql/commitdiff
Bring RelationGetRelationName into sync with new temp rel names.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2001 05:11:50 +0000 (05:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2001 05:11:50 +0000 (05:11 +0000)
Quick hack -- need to decide which header should include the other.

src/include/utils/rel.h

index f1574b3ffd535cfadf1c13024ae656192888e702..b826ac0249db50f64f023ebc428527a208fecbe2 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * 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;
 #define RelationGetRelationName(relation) \
 (\
        (strncmp(RelationGetPhysicalRelationName(relation), \
-                        "pg_temp.", 8) != 0) \
+                        "pg_temp", 7) != 0) \
        ? \
                RelationGetPhysicalRelationName(relation) \
        : \