From: Dagfinn Ilmari Mannsåker Date: Thu, 29 Oct 2015 16:54:03 +0000 (+0000) Subject: Add failing tests for PostgreSQL's @@ text search operator X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc900d2604bcc034dbe7bcc5fdde23d8834d258e;p=dbsrgits%2FSQL-Abstract.git Add failing tests for PostgreSQL's @@ text search operator --- diff --git a/t/14roundtrippin.t b/t/14roundtrippin.t index a7d4269..3680b73 100644 --- a/t/14roundtrippin.t +++ b/t/14roundtrippin.t @@ -39,6 +39,8 @@ my @sql = ( 'SELECT me.id, me.lsegcol FROM geomtest WHERE lsegcol \?-| ?', 'SELECT me.id, me.lsegcol FROM geomtest WHERE lsegcol \?|| ?', 'SELECT me.id, me.lsegcol FROM geomtest WHERE lsegcol \?# ?', + 'SELECT textsearch FROM textsearchtest WHERE foo = ? AND textsearch @@ plainto_tsquery(?)', + 'SELECT textsearch FROM textsearchtest WHERE foo = ? OR textsearch @@ plainto_tsquery(?)', # deliberate batshit insanity "SELECT foo FROM bar WHERE > 12", );