git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a3631e)
Remove useless Assert
2024年1月14日 06:29:45 +0000 (07:29 +0100)
2024年1月14日 06:29:45 +0000 (07:29 +0100)
It's already included in the subsequent intVal() call. Fixup for
4f622503d6.


diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index 5496f1268261ad1d2883ad9e458d4414571bfd6e..fdcd09bc5eb387b6a0e319bbc189c51c5ca26315 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /