Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b485ad7 commit a6be060Copy full SHA for a6be060
src/backend/parser/gram.y
@@ -18461,7 +18461,7 @@ insertSelectOptions(SelectStmt *stmt,
18461
parser_errposition(exprLocation(limitClause->limitCount))));
18462
stmt->limitCount = limitClause->limitCount;
18463
}
18464
- if (limitClause && limitClause->limitOption != LIMIT_OPTION_DEFAULT)
+ if (limitClause)
18465
{
18466
if (stmt->limitOption)
18467
ereport(ERROR,
src/include/nodes/nodes.h
@@ -440,7 +440,6 @@ typedef enum LimitOption
440
441
LIMIT_OPTION_COUNT, /* FETCH FIRST... ONLY */
442
LIMIT_OPTION_WITH_TIES, /* FETCH FIRST... WITH TIES */
443
- LIMIT_OPTION_DEFAULT, /* No limit present */
444
} LimitOption;
445
446
#endif /* NODES_H */
0 commit comments