About 50 results
Open links in new tab
  1. what does the @> operator in postgres do? - Stack Overflow

    May 2, 2016 · 113 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. 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. sql - IN vs ANY operator in PostgreSQL - Stack Overflow

    Jan 6, 2016 · What is the difference between IN and ANY operator in PostgreSQL? The working mechanism of both seems to be the same. Can anyone explain this with an example?

  4. How to use multiple WITH statements in one PostgreSQL query?

    Jul 1, 2016 · Try a comma before second with statement any any others after. Not sure about postgres but that's the normal syntax with Oracle and sql server

  5. What is the format for the PostgreSQL connection string / URL?

    Aug 27, 2010 · What is the format for the PostgreSQL connection string (URL postgres://...) when the host is not the localhost?

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

  7. How to drop a PostgreSQL database if there are active connections to …

    Mar 23, 2011 · PostgreSQL 13 introduced FORCE option. DROP DATABASE DROP DATABASE drops a database ... Also, if anyone else is connected to the target database, this command will fail unless …

  8. postgresql - How to switch databases in psql? - Stack Overflow

    Oct 16, 2010 · A MySQL "database" is in fact a schema. Therefor in most cases, MySQL's "databases" would better be mapped to schemas in Postgres anyway. And if that is done, you can change the …

  9. How can I change a PostgreSQL user password? - Stack Overflow

    Oct 4, 2012 · \password in the Postgres console. Per ALTER USER documentation: Caution must be exercised when specifying an unencrypted password with this command. The password will be …

  10. sql - Postgresql tables exists, but getting "relation does not exist ...

    I was using psql from PostgreSQL, and somehow I created the table in the "postgres=#" directory instead of first connecting to the database and creating it there.