About 35,700,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. Difference between LIKE and ~ in Postgres - Stack Overflow

    Sep 17, 2012 · Difference between LIKE and ~ in Postgres Asked 13 years, 3 months ago Modified 1 year, 2 months ago Viewed 140k times

  4. 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?

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

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

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

  8. postgresql - How to switch databases in psql? - Stack Overflow

    Oct 16, 2010 · A MySQL "database" is in fact a schema. Therefor in most cases, MySQL's "databases" would better be mapped to schemas in Postgres anyway. And if that is done, you can change the …

  9. How to configure postgresql for the first time? - Stack Overflow

    In my case, I did not know how to enter postgresql for the first time, in Ubuntu 22.04 after a recent installation, for me the command sudo -u postgres psql worked.

  10. Postgres: INSERT if does not exist already - Stack Overflow

    Nov 1, 2010 · In Postgres version 9.5 or higher you can use ON CONFLICT to avoid errors of contraints like @Arie mentioned above. To know more options related to this INSERT query refer to Postgres …