> On Aug 5, 2021, at 1:38 PM, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com> wrote:
>
> +select 'vyrlvyrlwvqko' ~ '(?:(?:((.))))((\2)\1.){0,0}?';
I've boiled it down a bit more:
+select '' ~ '()\1{0}';
+ ?column?
+----------
+ t
+(1 row)
+
+select '' ~ '()(\1){0}';
+ ?column?
+----------
+ t
+(1 row)
+
+select '' ~ '(())\2{0}';
+ ?column?
+----------
+ t
+(1 row)
+
+select '' ~ '(())(\2){0}';
+server closed the connection unexpectedly
+ This probably means the server terminated abnormally
+ before or while processing the request.
+connection to server was lost
Any ideas?
—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company