About 50 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 (and likely …

  2. database - What are '$$' used for in PL/pgSQL - Stack Overflow

    Aug 27, 2012 · These dollar signs ($$) are used for dollar quoting, which is in no way specific to function definitions. It can be used to replace single quotes enclosing string literals (constants) anywhere in …

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

  4. syntax - What does :: do in PostgreSQL? - Stack Overflow

    Mar 21, 2013 · The :: operator signifies a type cast, which converts from one data type to another. PostgreSQL accepts two equivalent syntaxes for type casts, the PostgreSQL-specific value::type and …

  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 ('a' in 'abc') …

  6. postgresql - 'password authentication failed for user "postgres ...

    I have installed PostgreSQL 8.4, Postgres client and Pgadmin 3. Authentication failed for user "postgres" for both console client and Pgadmin. I have typed user as "postgres" and password "postgres",

  7. Postgres 15. permission denied for schema public - Stack Overflow

    Oct 18, 2022 · Can't create tables in public schema as non-superuser postgres - super user. What I've done: ALTER SCHEMA public owner to postgres; CREATE USER admin WITH PASSWORD 'my …

  8. 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 refer to Postgres …

  9. Postgres table column name restrictions? - Stack Overflow

    Additionally, Postgres reserves system column names for internal use in every table: "Every table has several system columns that are implicitly defined by the system.

  10. 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 up and r...