About 17,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 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...

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

  4. How to increment value in PostgreSQL? - Stack Overflow

    Jul 27, 2023 · I'm a little new to Postgres. I want to take a value (which is an integer) in a field in a Postgres table and increment it by one. For example, if the table 'totals' had 2 columns, 'name' and …

  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. How do you create a read-only user in PostgreSQL?

    Apr 22, 2011 · postgres=# CREATE ROLE xxx LOGIN PASSWORD 'yyy'; postgres=# GRANT SELECT ON DATABASE mydb TO xxx; But it appears that the only things you can grant on a database are …

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

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

  9. sql - PostgreSQL: Give all permissions to a user on a PostgreSQL ...

    Mar 18, 2014 · As of Postgres 14: privileges on a database object (table, column, view, foreign table, sequence, database, foreign-data wrapper, foreign server, function, procedure, procedural language, …

  10. sql - Convert integer to string in PostgreSQL - Stack Overflow

    How do I convert an integer to string as part of a PostgreSQL query? So, for example, I need: