About 20,300,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. database - How to show tables in PostgreSQL? - Stack Overflow

    56 First login as postgres user: sudo su - postgres connect to the required db: psql -d databaseName \dt would return the list of all table in the database you're connected to.

  5. How to list the tables of schemas in PostgreSQL? - Stack Overflow

    Mar 26, 2013 · When I do a \\dt in psql I only get a listing of tables in the current schema (public by default). How can I get a list of all tables in all schemas or a particular schema?

  6. How to use multiple WITH statements in one PostgreSQL query?

    Jul 1, 2016 · Try a comma before second with statement any any others after. Not sure about postgres but that's the normal syntax with Oracle and sql server

  7. Using psql how do I list extensions installed in a database?

    May 4, 2018 · How do I list all extensions that are already installed in a database or schema from psql? See also Finding a list of available extensions that PostgreSQL ships with

  8. 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

  9. sql - How to log PostgreSQL queries? - Stack Overflow

    Apr 6, 2009 · The quoted statements work in Postgres 9.4 or later, but the leading paragraph is false. Setting log_statement = all in postgresql.conf for the respective database cluster - like the accepted …

  10. 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 …