Ask HN: What PostgreSQL client do you use?
What client(s) do HN use day-to-day? Why have you chosen it?
I'm looking for recommendations to use for light usage. Ideally, something that would help build the schema visually.
[1] https://wiki.postgresql.org/wiki/PostgreSQL_Clients
[+] [-] OJFord|5 years ago|reply
It suffers from 'oh God this was definitely written in Java, wasn't it', but it's mostly good.
Then I happened across pgAdmin recently which probably does everything I want from DBeaver, and has a docker image (it's browser based) but I haven't really tried it properly. Keep meaning to though, I have a hopeful feeling that it'd be 100% what I recommended if I had.
[+] [-] bzzzt|5 years ago|reply
Written in Java has the advantage of supporting any database which supports Java (which means every serious database on the planet)
[+] [-] lykr0n|5 years ago|reply
It also supports everything.
[+] [-] brightball|5 years ago|reply
[+] [-] zippoxer|5 years ago|reply
[+] [-] jcoletti|5 years ago|reply
[+] [-] conorh|5 years ago|reply
[+] [-] adperry|5 years ago|reply
[+] [-] zaszrespawned|5 years ago|reply
[+] [-] kmstout|5 years ago|reply
[+] [-] e12e|5 years ago|reply
https://www.pgcli.com/
It doesn't help with visualizing schemas, however.
[+] [-] Justsignedup|5 years ago|reply
On rare occasions I still need a GUI tool to explore a database because GUI definitely wins during the exploration phase by a lot.
Ironically enough for report writing I use metabase web ui. it serves most purposes I need from it.
[+] [-] bmdavi3|5 years ago|reply
[+] [-] atonse|5 years ago|reply
[+] [-] earthboundkid|5 years ago|reply
[+] [-] evo_9|5 years ago|reply
https://azure.microsoft.com/en-us/blog/azure-data-studio-an-...
[+] [-] ComputerGuru|5 years ago|reply
[+] [-] nsxwolf|5 years ago|reply
[+] [-] Doxin|5 years ago|reply
[+] [-] scabbycakes|5 years ago|reply
[+] [-] aarpmcgee|5 years ago|reply
[+] [-] oliwarner|5 years ago|reply
It's not the answer you thought you were looking for, but it's a bloody good framework for modelling data, reporting, and also scripting things around it.
[+] [-] nickreese|5 years ago|reply
Edit: For day-to-day I use Postico but am playing with beekeeper as soon as JSON and JSONB support are figured out.
[+] [-] oftenwrong|5 years ago|reply
[+] [-] pella|5 years ago|reply
#1. DBeaver: Working with spatial/GIS data
https://dbeaver.com/docs/wiki/Working-with-Spatial-GIS-data/
#2. pgAdmin4: now offers PostGIS geometry viewer
https://www.bostongis.com/blog/index.php?/archives/272-pgAdm...
---------
Any other?
[+] [-] rgoulter|5 years ago|reply
Here's the decision-tree I'd go with:
Do you want to pay money for it? If not, use a free or open source one.
Are you comfortable with running SQL commands from the command line? If not, go for a GUI one.
This leaves "OS-specific or cross platform" (which should be straightforward to resolve), and "desktop client or web interface". I'd expect a desktop client to be easier to setup.
[+] [-] alexandernst|5 years ago|reply
[+] [-] tren|5 years ago|reply
[+] [-] soheilpro|5 years ago|reply
[1] https://github.com/soheilpro/pgcmd
[2] https://stedolan.github.io/jq
[3] https://github.com/soheilpro/catj
[+] [-] wolfgang000|5 years ago|reply
[+] [-] rboyd|5 years ago|reply
SQLEditor (https://www.malcolmhardie.com/sqleditor/) is quite good if you're on OS X. It'll generate entire schema or migration since last save.
[+] [-] tomashertus|5 years ago|reply
[+] [-] sbuttgereit|5 years ago|reply
Truth is I never found a PostgreSQL graphical tool that I was happy with. The one with best PostgreSQL support was pgAdmin and the others were all lacking in that regard. In the end I just bit the bullet and took a week to get psql into my muscle memory. Best decision ever; in combination with a good .psqlrc I rarely find myself wanting for anything more. I work with fairly complex highly normalized schemas (100s of tables) and it tells me what I need to know. Of course, I'm doing a huge amount of database work so a more casual database user may not readily be able to get as much mileage out of psql (graphical data models help for some).
I think OmniDB (https://omnidb.org/) is a tool that seems to try to cover the same bases as pgAdmin, but doing a better job of it. I think I'd likely look there if I really needed graphical tool.
For the record, the last graphical tool I used that I was very pleased with was a tool for Oracle database development PL/SQL Developer (https://www.allroundautomations.com/products/pl-sql-develope...). For me, it hit a sweet spot that I've just not seen duplicated... but I stopped working with Oracle over a decade ago and that was when last I used this tool.
[+] [-] war1025|5 years ago|reply
[+] [-] pvsukale3|5 years ago|reply
very lite and minimal.
[+] [-] iameoghan|5 years ago|reply
[+] [-] yen223|5 years ago|reply
TablePlus when I want to do data exploration.
I've heard good things from colleagues about JetBrain's DataGrip, but I haven't given it a fair go.
[+] [-] dataminded|5 years ago|reply
I have started to transition more of my work to datagrip because I use pycharm and it's right there.