Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Type Cast Parentheses Problem (#152)
* Add support for CREATE DOMAIN CREATE DOMAIN us_postal_code AS TEXT CHECK( VALUE ~ '^\d{5}$' OR VALUE ~ '^\d{5}-\d{4}$' ); * Type Cast Parentheses Problem Query: SELECT * FROM kodsis WHERE create_date BETWEEN (CURRENT_DATE - 5)::DATE AND CURRENT_DATE Deparser Result: SELECT * FROM kodsis WHERE create_date BETWEEN CURRENT_DATE - 5::DATE AND CURRENT_DATE Result is not same the original query. I fixed it. New Deparser Result: SELECT * FROM kodsis WHERE create_date BETWEEN (CURRENT_DATE - 5)::date AND CURRENT_DATE
- Loading branch information