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

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

  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. psql: error: connection to server at "localhost" (::1), port 5432 ...

    Nov 17, 2022 · I had the same issue with psql shell on Windows. I solved it by running the pg_env.bat file in C:\Program Files\PostgreSQL\16rc1\ before running psql.This file sets the …

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