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

    May 2, 2016 · 113 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. Restore a postgres backup file using the command line?

    Enter the following command to restore your database: psql.exe -U postgres -d my_db -f D:\Backup\backup_file_name.sql Type password for your postgres user if needed and let Postgres to …

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

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

  7. pgadmin - pg Admin 4 - password for "postgres" user when trying to ...

    Oct 4, 2020 · This will disable password for your DB. Click on any database in postgresql to use Query Tool. In Query Tool type ALTER USER postgres WITH PASSWORD 'User_password'; postgres is …

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

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

  10. PostgreSQL: Why psql can't connect to server? - Stack Overflow

    Mar 19, 2019 · I typed psql and I get this: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgr...