About 12,400,000 results
Open links in new tab
  1. 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 …

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

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

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

  5. Find the host name and port using PSQL commands

    I have PSQL running, and am trying to get a perl application connecting to the database. Is there a command to find the current port and host that the database is running on?

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

  7. How to list active connections on PostgreSQL? - Stack Overflow

    Dec 12, 2014 · 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 …

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

  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 …

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