About 25,600,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 …

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

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

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

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

  6. PostgreSQL: Modify OWNER on all tables simultaneously in …

    How do I modify the owner of all tables in a PostgreSQL database? I tried ALTER TABLE * OWNER TO new_owner but it doesn't support the asterisk syntax.

  7. Postgresql SELECT if string contains - Stack Overflow

    is it case-sensitive or case-insensitive by default? Venkat D. Over a year ago One thing non-intuitive thing is that for postgres, position is 1 based, not 0 based. For example select position …

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

  9. sql - How to get a list column names and datatypes of a table in ...

    Postgres does it programmatically, so just start postgres with the '-E' flag: psql -E and for every backslash command the respective SQL will be displayed before the result of the command.

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