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

    May 2, 2016 · 111 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. database - What are '$$' used for in PL/pgSQL - Stack Overflow

    Aug 27, 2012 · These dollar signs ($$) are used for dollar quoting, which is in no way specific to function definitions. It can be used to replace single quotes enclosing string literals (constants) anywhere in …

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

  4. How can I change a PostgreSQL user password? - Stack Overflow

    Oct 4, 2012 · \password in the Postgres console. Per ALTER USER documentation: Caution must be exercised when specifying an unencrypted password with this command. The password will be …

  5. postgresql - 'password authentication failed for user "postgres ...

    I have installed PostgreSQL 8.4, Postgres client and Pgadmin 3. Authentication failed for user "postgres" for both console client and Pgadmin. I have typed user as "postgres" and password "postgres",

  6. PostgreSQL permissions explained - Stack Overflow

    Please explain the output of the \\z command in PostgreSQL. I understand the permission, I read the documentation, but somehow I missed the interpretation of the output of \\z. datastore_default=&gt...

  7. sql - Postgresql tables exists, but getting "relation does not exist ...

    I was using psql from PostgreSQL, and somehow I created the table in the "postgres=#" directory instead of first connecting to the database and creating it there.

  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. Create database from command line in PostgreSQL

    Mar 19, 2019 · I am trying to create a database from command line. My OS is centos and postgres version is 10.9. sudo -u postgres psql createdb test Password for user test: Why is it prompting me …

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