Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2abbf39

Browse files
committed
Removed old Assert's used during development.
1 parent 81f5c66 commit 2abbf39

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/backend/parser/parse_query.c

+1-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.8 1996/11/13 20:49:05 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/Attic/parse_query.c,v 1.9 1996/11/19 05:06:39 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -699,7 +699,6 @@ handleTargetColname(ParseState *pstate, char **resname,
699699
if (pstate->p_is_insert) {
700700
if (pstate->p_insert_columns != NIL ) {
701701
Ident *id = lfirst(pstate->p_insert_columns);
702-
Assert(lfirst(pstate->p_insert_columns) != NIL);
703702
*resname = id->name;
704703
pstate->p_insert_columns = lnext(pstate->p_insert_columns);
705704
}
@@ -732,15 +731,11 @@ checkTargetTypes(ParseState *pstate, char *target_colname,
732731
refname = rte->refname;
733732
}
734733

735-
Assert(refname != NULL && rte != NULL);
736-
737-
Assert(rte != NULL);
738734
/*
739735
if (pstate->p_is_insert && rte == pstate->p_target_rangetblentry)
740736
elog(WARN, "%s not available in this context", colname);
741737
*/
742738
rd = heap_open(rte->relid);
743-
Assert(RelationIsValid(rd));
744739

745740
resdomno_id = varattno(rd,colname);
746741
attrtype_id = att_typeid(rd,resdomno_id);

0 commit comments

Comments
 (0)