pgAdmin won’t start (eternal loading)

I had the same problem and I resolved it following the steps on link https://www.pgadmin.org/faq/#12 When I launch pgAdmin 4 v4.28 or later on Windows, the loading page never closes. Why? pgAdmin 4 v4.28 includes additional security features, one of which is intended to prevent security issues caused by Content Sniffing. Unfortunately some Windows systems … Read more

Postgresql query for objects in nested JSONB field

You should become familiar with JSON Functions and Operators. — #1 select * from example where content->’Item’->>’Name’ ilike ‘%dog%’ and content->’Item’->>’Spec’ ilike ‘%red%’ — #2 select * from example where content->’Item’->>’Name’ ilike ‘%dog%’ or content->’Item’->>’Spec’ ilike ‘%red%’ — #3 select distinct on(no) t.* from example t, lateral jsonb_each_text(content->’Item’) where value ilike ‘%dog%’; — and select … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)