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. 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",

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

  7. database - How to show tables in PostgreSQL? - Stack Overflow

    56 First login as postgres user: ... connect to the required db: psql -d databaseName \dt would return the list of all table in the database you're connected to.

  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. How can I change a PostgreSQL user password? - Stack Overflow

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

  10. sql - Declare a variable in a PostgreSQL query - Stack Overflow

    How do I declare a variable for use in a PostgreSQL 8.3 query? In MS SQL Server I can do this: DECLARE @myvar INT; SET @myvar = 5/ SELECT * FROM somewhere WHERE something = …