About 23,000,000 results
Open links in new tab
  1. what does the @> operator in postgres do? - Stack Overflow

    May 2, 2016 · 110 I came across a query in postgres here which uses the @> operator on earth objects. I've searched everywhere, but have come up empty on the meaning of this operator (and likely …

  2. What is the difference between `->>` and `->` in Postgres SQL?

    What is the difference between ->> and -> in SQL? In this thread (Check if field exists in json type column postgresql), the answerer basically recommends using, json->'attribute' is ...

  3. What is the default password for Postgres - Stack Overflow

    I have just installed Postgres 9.3 on Windows 7. The installation completed successfully. It has never asked me to provide the password for postgres user. The service postgresql-x64-9.3 is up and r...

  4. Postgresql SELECT if string contains - Stack Overflow

    is it case-sensitive or case-insensitive by default? Venkat D. Over a year ago One thing non-intuitive thing is that for postgres, position is 1 based, not 0 based. For example select position ('a' in 'abc') …

  5. How to list active connections on PostgreSQL? - Stack Overflow

    Apr 15, 2020 · Is there a command in PostgreSQL to select active connections to a given database? psql states that I can't drop one of my databases because there are active connections to it, so I …

  6. I forgot the password I entered during PostgreSQL installation

    I either forgot or mistyped (during the installation) the password to the default user of PostgreSQL. I can't seem to be able to run it, and I get the following error: psql: FATAL: password

  7. What is the format for the PostgreSQL connection string / URL?

    Feb 7, 2021 · What is the format for the PostgreSQL connection string (URL postgres://...) when the host is not the localhost?

  8. Postgres 15. permission denied for schema public - Stack Overflow

    Oct 18, 2022 · Can't create tables in public schema as non-superuser postgres - super user. What I've done: ALTER SCHEMA public owner to postgres; CREATE USER admin WITH PASSWORD 'my …

  9. How to detect query which holds the lock in Postgres?

    104 From this excellent article on query locks in Postgres, one can get blocked query and blocker query and their information from the following query.

  10. How to drop PostgreSQL database through command line

    I'm trying to drop my database and create a new one through the command line. I log in using psql -U username and then do a \\connect template1, followed by a DROP DATABASE databasename;. I get …