aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-01-14 07:29:45 +0100
committerPeter Eisentraut <peter@eisentraut.org>2024-01-14 07:29:45 +0100
commite3aa802e6f843fc8df793d2dccdafecc32fe2cfc (patch)
treeaf2a041857b43d92bfffea2ef20a90d60350f8f4 /src
parent6a3631e251d1390673aee469c0cd672cac6195ef (diff)
downloadpostgresql-e3aa802e6f843fc8df793d2dccdafecc32fe2cfc.tar.gz
postgresql-e3aa802e6f843fc8df793d2dccdafecc32fe2cfc.zip
Remove useless Assert
It's already included in the subsequent intVal() call. Fixup for 4f622503d6.
Diffstat (limited to 'src')
-rw-r--r--src/backend/commands/tablecmds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 5496f126826..fdcd09bc5eb 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -8565,7 +8565,6 @@ ATExecSetStatistics(Relation rel, const char *colName, int16 colNum, Node *newVa
if (newValue)
{
- Assert(IsA(newValue, Integer));
newtarget = intVal(newValue);
}
else