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

    May 2, 2016 · 108 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 …

  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 …

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

    Oct 4, 2012 · I believe the best way to change the password is simply to use: \password in the Postgres console. Per ALTER USER documentation: Caution must be exercised when …

  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 …

  6. sql - PostgreSQL IF statement - Stack Overflow

    How can I do such query in Postgres? IF (select count(*) from orders) > 0 THEN DELETE from orders ELSE INSERT INTO orders values (1,2,3);

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

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

    Apr 19, 2012 · 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' …

  9. postgresql - postgres default timezone - Stack Overflow

    Jul 12, 2011 · That answer shows how to set a Postgres-specific configuration parameter with the following: SET timezone TO 'UTC'; …where timezone is not a SQL command, it is the name of …

  10. Where does PostgreSQL store configuration/conf files?

    I have recently installed PostgreSQL on Ubuntu with the EnterpriseDB package. I can connect to the database locally, but I can't configure it because I can't find config files. I searched through …