From d47e10bfde24d0aa2ba11e17b728495534cd44d7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 19 Jun 2001 05:11:50 +0000 Subject: [PATCH] Bring RelationGetRelationName into sync with new temp rel names. Quick hack -- need to decide which header should include the other. --- src/include/utils/rel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index f1574b3ffd..b826ac0249 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -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) \ : \ -- 2.40.0