About 14,800,000 results
Open links in new tab
  1. syntax - What does :: do in PostgreSQL? - Stack Overflow

    Mar 21, 2013 · A type cast specifies a conversion from one data type to another. PostgreSQL accepts two equivalent syntaxes for type casts, the PostgreSQL-specific value::type and the …

  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. Postgres: INSERT if does not exist already - Stack Overflow

    Nov 1, 2010 · In Postgres version 9.5 or higher you can use ON CONFLICT to avoid errors of contraints like @Arie mentioned above. To know more options related to this INSERT query …

  4. Find the host name and port using PSQL commands

    Apr 8, 2011 · 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?

  5. Npgsql Exception while reading from stream, Postgres

    Nov 1, 2016 · Npgsql Exception while reading from stream, Postgres Asked 8 years, 7 months ago Modified 2 years, 2 months ago Viewed 99k times

  6. Postgresql SELECT if string contains - Stack Overflow

    One thing non-intuitive thing is that for postgres, position is 1 based, not 0 based. For example select position ('a' in 'abc') returns 1. And if there is no match it returns 0.

  7. How to set auto increment primary key in PostgreSQL?

    I have a table in PostgreSQL with many columns, and I want to add an auto increment primary key. I tried to create a column called id of type BIGSERIAL but pgadmin responded with an …

  8. Insert text with single quotes in PostgreSQL - Stack Overflow

    Sep 7, 2012 · We've noticed that attempting to insert a string literal to Redshift (which is effectively old Postgres 8.x) matches what you said here about old versions. In that platform if …

  9. How to concatenate columns in a Postgres SELECT?

    How to concatenate columns in a Postgres SELECT? Asked 11 years, 7 months ago Modified 1 year, 5 months ago Viewed 483k times

  10. Difference between LIKE and ~ in Postgres - Stack Overflow

    Sep 17, 2012 · You can specify a full range of regular expression wildcards and quantifiers; see the documentation for details. It is certainly more powerful than LIKE, but should only be used …

Refresh