From 2abbf392bd9c8e6e0b8d56a25f4d1c246a3b0e1e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 19 Nov 1996 05:06:39 +0000 Subject: [PATCH] Removed old Assert's used during development. --- src/backend/parser/parse_query.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/backend/parser/parse_query.c b/src/backend/parser/parse_query.c index 2676919148..3feabdc474 100644 --- a/src/backend/parser/parse_query.c +++ b/src/backend/parser/parse_query.c @@ -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); -- 2.40.0