fulltext: support CQL any operator; quote args#36
Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for the CQL any relation in Postgres full-text search generation, and changes full-text term handling to build explicit to_tsquery(...) expressions with quoted lexemes (so query operators are not interpreted from user input).
Changes:
- Replace prior fulltext query generation with
to_tsquery(...)and construct tsquery strings using<->,&, and|operators depending on relation. - Add support for
ANYrelation in fulltext mode. - Update parsing and pgx integration tests to validate the new tsquery argument format and
ANYbehavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
pgcql/pg_field_string.go |
Implements to_tsquery-based fulltext generation and adds ANY relation handling. |
pgcql/pgcql_test.go |
Updates parsing expectations for fulltext SQL/args and adds coverage for full any "a b". |
pgcql/pgx_test.go |
Adds runtime integration coverage for ANY fulltext queries against Postgres. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.