-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deparser: Add support for COALESCE and other expressions in LIMIT cla…
…use (#199) We've previously supported "c_expr" being used in a LIMIT clause, but its actually more correct to treat this as "a_expr", which is a broader set of functions, including COALESCE. Note that the previous handling (for "c_expr") is still correct for FETCH FIRST (expr) ROWS WITH TIES, see the "select_fetch_first_value" in the Postgres grammar. In passing fix two new warnings in the deparser caused by a recent code addition.
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters