We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, we banned _ as escape char in LIKE expression, since the output is not as expected.
_
The failed regress tests (commented):
--@ SELECT 'bear' LIKE 'b_ear' ESCAPE '_' AS "true"; --@ SELECT 'bear' NOT LIKE 'b_ear' ESCAPE '_' AS "false";
The text was updated successfully, but these errors were encountered:
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned.
Sorry, something went wrong.
@TennyZhuang new here. can i pick this?
Sure, thanks!
@TennyZhuang I got some weird behavior on this featrue deplyment #17377. Such as
SELECT '____' LIKE '_____' ESCAPE '_' as "true"
In PostgreSQL 16.3 will return
ERROR: LIKE pattern must not end with escape character
But , in otherwise this query should be return true.
true
In other test case should return true but reutrn false
false
postgres=# SELECT '____r' LIKE '_____r' ESCAPE '_' as "true"; true ------ f (1 row)
I throught this feature need more cornercase to verify.
Max-Cheng
No branches or pull requests
Currently, we banned
_
as escape char in LIKE expression, since the output is not as expected.The failed regress tests (commented):
The text was updated successfully, but these errors were encountered: