Hi! On Mon, Dec 17, 2012 at 12:54 PM, Erik Rijkers <e...@xs4all.nl> wrote:
> On Sun, December 16, 2012 22:25, Alexander Korotkov wrote: > > > trgm-regexp-0.8.patch.gz 22 k > > Hi Alexander, > > I gave this a quick try; the patch works when compiled for DEBUG, but > crashes as a > 'speed'-compiled binary: > > Compile for speed: > > $ pg_config --configure > '--prefix=/home/aardvark/pg_stuff/pg_installations/pgsql.trgm_regex8' > '--with-pgport=6556' > '--enable-depend' '--with-openssl' '--with-perl' '--with-libxml' > > $ psql > psql > (9.3devel-trgm_regex8-20121216_2336-c299477229559d4ee7db68720d86d3fb391db761) > Type "help" for help. > > testdb=# explain analyze select txt from azjunk5 where txt ~ > 'x[aeiouy]{2,5}q'; > The connection to the server was lost. Attempting reset: Failed. > !> \q > Didn't reproduce it yet. Can you retry it with this line uncommented: #define TRGM_REGEXP_DEBUG Then we can see which stage it fails. ------ With best regards, Alexander Korotkov.