Try
SELECT * FROM table WHERE arr @> ARRAY['s']::varchar[]
More Related Contents:
- Permission denied for relation
- Return SETOF rows from PostgreSQL function
- Select from a table variable
- PostgreSQL – set a default cell value according to another cell value
- Importing .csv with timestamp column (dd.mm.yyyy hh.mm.ss) using psql \copy
- What is PostgreSQL equivalent to autoincrement?
- How do I specify a password to ‘psql’ non-interactively?
- INSERT with dynamic table name in trigger function
- psql: FATAL: Ident authentication failed for user “postgres”
- What is the format for the PostgreSQL connection string / URL?
- Where does PostgreSQL store the database?
- Is there a way to disable function overloading in Postgres
- Grant all on a specific schema in the db to a group role in PostgreSQL
- Can I make a plpgsql function return an integer without using a variable?
- Migrate database from Postgres to MySQL [closed]
- How can I start PostgreSQL on Windows?
- Why can I create a table with PRIMARY KEY on a nullable column?
- Oracle SQL Developer and PostgreSQL
- Test for null in function with varying parameters
- PostgreSQL: Why psql can’t connect to server?
- How do you find the disk size of a Postgres / PostgreSQL table and its indexes
- no pg_hba.conf entry for host
- PostgreSQL – disabling constraints
- PostgreSQL authentication method 10 not supported
- PostgreSQL disable more output
- PostgreSQL array_agg order
- Postgres table column name restrictions?
- PostgreSQL jsonb, `?` and JDBC
- Syntax error at end of input in PostgreSQL
- Error when pushing data to Heroku: time zone displacement out of range