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. syntax - What does :: do in PostgreSQL? - Stack Overflow

    Mar 21, 2013 · It seems to be some sort of cast. What exactly is :: in postgres and when should it be used? I tried a bit of googling and searched the Postgres docs for :: but got no good results. I tried …

  4. Postgresql SELECT if string contains - Stack Overflow

    So I have a in my Postgresql: TAG_TABLE ========================== id tag_name -------------------------- 1 aaa 2 bbb 3 ccc To simplify my pr...

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

  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. pgadmin - pg Admin 4 - password for "postgres" user when trying to ...

    Oct 4, 2020 · This will disable password for your DB. Click on any database in postgresql to use Query Tool. In Query Tool type ALTER USER postgres WITH PASSWORD 'User_password'; postgres is …

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

    Oct 16, 2010 · By default, Postgres runs on the port 5432. If it runs on another, make sure to pass the port in the command line. ... By a simple alias, we can make it handy. Create an alias in your .bashrc …

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

  10. PostgreSQL: Why psql can't connect to server? - Stack Overflow

    Mar 19, 2019 · Thanks, my postgres on an ec2 instance wouldn't start anymore. That did the trick. Since it was a dev server I didn't mind losing the data.