Remove useless Assert
authorPeter Eisentraut
Sun, 14 Jan 2024 06:29:45 +0000 (07:29 +0100)
committerPeter Eisentraut
Sun, 14 Jan 2024 06:29:45 +0000 (07:29 +0100)
It's already included in the subsequent intVal() call.  Fixup for
4f622503d6.

src/backend/commands/tablecmds.c

index 5496f1268261ad1d2883ad9e458d4414571bfd6e..fdcd09bc5eb387b6a0e319bbc189c51c5ca26315 100644 (file)
@@ -8565,7 +8565,6 @@ ATExecSetStatistics(Relation rel, const char *colName, int16 colNum, Node *newVa
 
    if (newValue)
    {
-       Assert(IsA(newValue, Integer));
        newtarget = intVal(newValue);
    }
    else