Remove useless assertions
Peter Eisentraut <peter@eisentraut.org>
Remove useless assertions We don't need Assert(IsA(foo, String)) right before running strVal(foo), since strVal() already does the assertion internally (via castNode()).
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +0 −2 |
| src/backend/commands/typecmds.c | modified | +0 −1 |
| src/backend/executor/functions.c | modified | +0 −2 |
| src/backend/parser/parse_expr.c | modified | +0 −10 |
| src/pl/plpgsql/src/pl_comp.c | modified | +0 −6 |