agora inbox for pgsql-bugs@postgresql.org
help / color / mirror / Atom feedFrom: Tom Lane <tgl@sss.pgh.pa.us>
To: shihao zhong <zhong950419@gmail.com>
Cc: imchifan@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19699: LIKE with a trailing escape fails to raise SQLSTATE 22025 for empty input
Date: Fri, 25 Sep 2026 01:05:54 -0400
Message-ID: <1848966.1790312754@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGRkXqS3zxLWfmTF3q4oe7hunOqAAjjFMa_PB2Dvzjo7P3a5Hw@mail.gmail.com>
References: <19699-dbaa58bbf8db1859@postgresql.org>
<CAGRkXqS3zxLWfmTF3q4oe7hunOqAAjjFMa_PB2Dvzjo7P3a5Hw@mail.gmail.com>
shihao zhong <zhong950419@gmail.com> writes:
+ * ... this is cheap enough to repeat in
+ * recursive calls.
This claim is unsubstantiated. Even if it were, I fail to understand
why it's necessary to expend any cycles whatsoever on this point.
Who cares if we don't throw that error?
regards, tom lane
view thread (4+ messages) latest in thread
Message-ID: <1848966.1790312754@sss.pgh.pa.us>
Permalink: ../1848966.1790312754@sss.pgh.pa.us/
Also on: postgresql.org/message-id/1848966.1790312754@sss.pgh.pa.us
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, zhong950419@gmail.com, imchifan@163.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19699: LIKE with a trailing escape fails to raise SQLSTATE 22025 for empty input
In-Reply-To: <1848966.1790312754@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox