aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parsetree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/parser/parsetree.h')
-rw-r--r--src/include/parser/parsetree.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/include/parser/parsetree.h b/src/include/parser/parsetree.h
index dd9ae658ac7..fe16d7d1fa4 100644
--- a/src/include/parser/parsetree.h
+++ b/src/include/parser/parsetree.h
@@ -32,16 +32,6 @@
((RangeTblEntry *) list_nth(rangetable, (rangetable_index)-1))
/*
- * getrelid
- *
- * Given the range index of a relation, return the corresponding
- * relation OID. Note that InvalidOid will be returned if the
- * RTE is for a non-relation-type RTE.
- */
-#define getrelid(rangeindex,rangetable) \
- (rt_fetch(rangeindex, rangetable)->relid)
-
-/*
* Given an RTE and an attribute number, return the appropriate
* variable name or alias for that attribute of that RTE.
*/