About 8,600,000 results
Open links in new tab
  1. 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 ...

  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 …

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

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

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

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

  8. How to handle special characters in the password of a Postgresql …

    URIs are supported by postgres since version 9.2 only, so with a 9.1 client that's not supposed to work at all. Or you're using a client that implements connection URIs itself. Percent-sign …

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