Try,
SELECT title FROM movies WHERE to_tsvector(title) @@ to_tsquery('squire:*')
This works on PostgreSQL 8.4+
More Related Contents:
- Sort by column ASC, but NULL values first?
- Using an Alias column in the where clause in Postgresql
- How to return result of a SELECT inside a function in PostgreSQL?
- Grouped LIMIT in PostgreSQL: show the first N rows for each group?
- Possible to perform cross-database queries with PostgreSQL?
- Reset auto increment counter in postgres
- GROUP BY and aggregate sequential numeric values
- Safely rename tables using serial primary key columns
- How to concatenate columns in a Postgres SELECT?
- How to use (install) dblink in PostgreSQL?
- get JOIN table as array of results with PostgreSQL/NodeJS
- updating table rows in postgres using subquery
- How can I send email from PostgreSQL trigger?
- Find overlapping date ranges in PostgreSQL
- PostgreSQL multi INSERT…RETURNING with multiple columns
- How do you do date math that ignores the year?
- Postgres manually alter sequence
- What’s the proper index for querying structures in arrays in Postgres jsonb?
- “Operator does not exist: integer =?” when using Postgres
- Extract date (yyyy/mm/dd) from a timestamp in PostgreSQL
- Oracle equivalent of Postgres’ DISTINCT ON?
- Postgres sql insert query syntax error from phpPgAdmin
- postgresql generate sequence with no gap
- PostgreSQL: Case insensitive string comparison
- Combine two columns and add into one new column
- Bulk/batch update/upsert in PostgreSQL
- Any way to achieve fulltext-like search on InnoDB
- Timestamp Difference In Hours for PostgreSQL
- SQL INSERT without specifying columns. What happens?
- Why isn’t row level security enabled for Postgres views?