From 01b73d3f27109e698724606764a8f7ec046952ed Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 23 Oct 2001 17:39:03 +0000 Subject: Fix foreign keys on system columns. --- src/include/parser/parse_relation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/parser/parse_relation.h b/src/include/parser/parse_relation.h index 82b3b0dd156..0cf4f40f19e 100644 --- a/src/include/parser/parse_relation.h +++ b/src/include/parser/parse_relation.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: parse_relation.h,v 1.24 2001/08/10 18:57:41 tgl Exp $ + * $Id: parse_relation.h,v 1.25 2001/10/23 17:39:03 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -45,6 +45,7 @@ extern List *expandRelAttrs(ParseState *pstate, RangeTblEntry *rte); extern List *expandJoinAttrs(ParseState *pstate, JoinExpr *join, int sublevels_up); extern int attnameAttNum(Relation rd, char *a); +extern Name attnumAttName(Relation rd, int attid); extern Oid attnumTypeId(Relation rd, int attid); #endif /* PARSE_RELATION_H */ -- cgit v1.2.3