Removed old Assert's used during development.

This commit is contained in:
Bruce Momjian 1996-11-19 05:06:39 +00:00
parent 81f5c669e9
commit 2abbf392bd
1 changed files with 1 additions and 6 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.8 1996/11/13 20:49:05 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.9 1996/11/19 05:06:39 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -699,7 +699,6 @@ handleTargetColname(ParseState *pstate, char **resname,
if (pstate->p_is_insert) {
if (pstate->p_insert_columns != NIL ) {
Ident *id = lfirst(pstate->p_insert_columns);
Assert(lfirst(pstate->p_insert_columns) != NIL);
*resname = id->name;
pstate->p_insert_columns = lnext(pstate->p_insert_columns);
}
@ -732,15 +731,11 @@ checkTargetTypes(ParseState *pstate, char *target_colname,
refname = rte->refname;
}
Assert(refname != NULL && rte != NULL);
Assert(rte != NULL);
/*
if (pstate->p_is_insert && rte == pstate->p_target_rangetblentry)
elog(WARN, "%s not available in this context", colname);
*/
rd = heap_open(rte->relid);
Assert(RelationIsValid(rd));
resdomno_id = varattno(rd,colname);
attrtype_id = att_typeid(rd,resdomno_id);