*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.55 1999/09/18 19:07:12 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.56 1999/09/27 17:46:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
rte = refnameRangeTableEntry(pstate, refname);
if (rte == NULL)
- rte = addRangeTableEntry(pstate, refname, refname, FALSE, FALSE);
+ {
+ rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE);
+ elog(NOTICE,"Auto-creating query reference to table %s", refname);
+ }
relname = rte->relname;
relid = rte->relid;
rte = refnameRangeTableEntry(pstate, refname);
if (rte == NULL)
- rte = addRangeTableEntry(pstate, refname, refname,
- FALSE, FALSE);
+ {
+ rte = addRangeTableEntry(pstate, refname, refname,FALSE, FALSE);
+ elog(NOTICE,"Auto-creating query reference to table %s", refname);
+ }
+
relname = rte->relname;
vnum = refnameRangeTablePosn(pstate, rte->refname, NULL);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.27 1999/09/18 19:07:12 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_relation.c,v 1.28 1999/09/27 17:46:14 momjian Exp $
*
*-------------------------------------------------------------------------
*/
rte = refnameRangeTableEntry(pstate, refname);
if (rte == NULL)
+ {
rte = addRangeTableEntry(pstate, relname, refname, FALSE, FALSE);
+ elog(NOTICE,"Auto-creating query reference to table %s", refname);
+ }
rel = heap_open(rte->relid, AccessShareLock);