aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parsetree.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-06-12 19:40:58 +0000
committerBruce Momjian <bruce@momjian.us>2000-06-12 19:40:58 +0000
commit332f0f5fc0c42d6f5599e8ab8a6754588b73edb7 (patch)
tree6db421c22b81d7e47fe40d113c3b4c034ea478dc /src/include/parser/parsetree.h
parent767e6d17b4ca04f796e46a7716283bb17b598628 (diff)
downloadpostgresql-332f0f5fc0c42d6f5599e8ab8a6754588b73edb7.tar.gz
postgresql-332f0f5fc0c42d6f5599e8ab8a6754588b73edb7.zip
Rename rule CURRENT to OLD in source tree. Add mapping for backward
compatiblity with old rules.
Diffstat (limited to 'src/include/parser/parsetree.h')
-rw-r--r--src/include/parser/parsetree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/parser/parsetree.h b/src/include/parser/parsetree.h
index 3f5e09cc1df..277bc32a504 100644
--- a/src/include/parser/parsetree.h
+++ b/src/include/parser/parsetree.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsetree.h,v 1.9 2000/02/15 03:38:29 thomas Exp $
+ * $Id: parsetree.h,v 1.10 2000/06/12 19:40:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -39,7 +39,7 @@
*/
#define rt_relname(rt_entry) \
- ((!strcmp(((rt_entry)->ref->relname),"*CURRENT*") ||\
+ ((!strcmp(((rt_entry)->ref->relname),"*OLD*") ||\
!strcmp(((rt_entry)->ref->relname),"*NEW*")) ? ((rt_entry)->ref->relname) : \
((char *)(rt_entry)->relname))