News for hackers. Stuff that matters.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by msluyter on Monday October 27, 2014 @05:47PM (#8518379)
For some reason I was having difficulty getting it to connect to our internal servers, though I could connect to one on my local machine. I'm guessing ssl related. In any event, definitely pretty neat, though it wouldn't really replace my standard database interface.

Which brings up the question -- most database tools I've used for ad-hoc queries have been mediocre at best. psql isn't bad, but a text based interface is suboptimal in many cases. On the other hand, SquirrelSQL, which I generally use, is adequate though not particularly friendly.

What I'd really love is a UI with some modern sensibilities, like saving all queries in history and providing Sublime Text like cmd-P commands to quickly recall and re-run queries. Auto-limiting, quick scrolling through query history with arrow keys, templated queries/ handling bind params, nice key mappings, SQL formatting, etc...

When I was using Oracle, Toad provided some of the above, but it was pretty bloated and provided way more than what I really needed. Tried navicat and it ate 100% of my CPU and crashed repeatedly. I'd be curious if there are any better (free or cheap) alternatives out there, but most of the offerings I've seen look pretty weak.

Re:Pgweb: Web-based PostgreSQL database browser written in Go by jackalope on Monday October 27, 2014 @08:05PM (#8518870)
Vim users might consider the dbext plugin: http://vim.sourceforge.net/scripts/script.php?script_id=356

It supports a long list of databases, a variety of common development languages, has a command history, prompts for variables in statements, and more features I haven't touched. As a Vim plugin, it's fairly light on the CPU, but with all the expressive power you expect from Vim (including syntax formatting/highlighting and the availability of your other favorite plugins). I like it because I can dedicate a plaintext file to a specific task, develop my queries, save my results, and come back to it at a later date if the need arises. Some of these files are an important part of my workflow. The only thing I'd change is a more secure handling of login credentials, but it sure beats the standard command line tools bundled with most databases and requires less overhead than the GUI or web-based ones.

Re:Pgweb: Web-based PostgreSQL database browser written in Go by sosedoff on Monday October 27, 2014 @06:01PM (#8518435)
This is just a start, there're lots of features in roadmap (not in repo yet). Im trying to model pgweb after Sequel Pro (http://www.sequelpro.com/), which is MySQL and OSX only. Some of the features you mentioned will be available in upcoming releases.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by girvo on Monday October 27, 2014 @06:59PM (#8518667)
Modelling it of Sequel Pro? Now you have my attention... Sequel is easily one of the nicest DBA tools I've used, however it's limitation of being MySQL-only means I get frustrated when having to rely on other, lesser tools for Postgres.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by sosedoff on Monday October 27, 2014 @07:40PM (#8518791)
Same here, that's the reason why pgweb was created.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by humanfromearth on Tuesday October 28, 2014 @05:08AM (#8520048)
Can't we give a lot of money to the guy who made Sequel Pro to make a PG version?
Re:Pgweb: Web-based PostgreSQL database browser written in Go by jakobegger on Tuesday October 28, 2014 @06:18AM (#8520221)
I'm a former Sequel Pro developer and I wrote a Postgres client for OS X: https://eggerapps.at/pgcommander/

I'm currently working on version 2.0 which includes a table structure editor: https://eggerapps.at/pgcommander-prerelease/

Re:Pgweb: Web-based PostgreSQL database browser written in Go by tehno on Tuesday October 28, 2014 @07:44AM (#8520433)
For us, better support for editing hstore and json/jsonb values is a must. Add that and we might become customers.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by jakobegger on Tuesday October 28, 2014 @08:18AM (#8520532)
This is on my roadmap for next year. Drop me a line at [email protected] and I'll send you a note once it's ready.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by peter91 on Tuesday October 28, 2014 @05:46PM (#8523786)
If you're looking for a general JSON editor - there's a nice online one at: https://json-csv.com/editor
Re:Pgweb: Web-based PostgreSQL database browser written in Go by gglanzani on Tuesday October 28, 2014 @07:00AM (#8520331)
So great! Is there a way to register (i.e. pay) for v1 and get v2 when it comes out?
Re:Pgweb: Web-based PostgreSQL database browser written in Go by jakobegger on Tuesday October 28, 2014 @08:16AM (#8520518)
Yes! All v1 licenses bought on my website after September 1st will be valid for v2. See https://eggerapps.at/pgcommander/faq.html
Re:Pgweb: Web-based PostgreSQL database browser written in Go by Schweigi on Monday October 27, 2014 @09:24PM (#8519083)
I'm currently using IntelliJs database interface to access PostgreSQL but I would definitely pay for something similar like SequelPro for Postgres.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by njs12345 on Monday October 27, 2014 @06:05PM (#8518448)
IDEA has some pretty slick database features, including some of the things you mentioned: https://www.jetbrains.com/idea/features/database_tools.html

Only in the Ultimate edition though, so quite pricey..

Re:Pgweb: Web-based PostgreSQL database browser written in Go by takemikazuchi on Monday October 27, 2014 @10:06PM (#8519195)
0xDBE is really nice: https://www.jetbrains.com/dbe/ Though it's still in alpha.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by conradfr on Tuesday October 28, 2014 @10:46AM (#8521187)
I use it a lot, it's great for schema & queries but I don't really like it for data manipulation & export though, a bit cumbersome for my taste.
Re:Pgweb: Web-based PostgreSQL database browser written in Go by ianmcgowan on Monday October 27, 2014 @11:31PM (#8519419)
Aqua Data Studio (http://www.aquafold.com/) is pretty awesome, and does most of the above. It's far from cheap, unless you're comparing it to Toad. It connects to pretty much anything with a jdbc driver, and provides a relatively uniform interface - I use it regularly with postgres, mssql, oracle and teradata.

Tora is free, and open source, but a bit rough around the edges.

Re:Pgweb: Web-based PostgreSQL database browser written in Go by enjoy-your-stay on Tuesday October 28, 2014 @06:03AM (#8520180)
Aquadata looks like a very interesting application, I'm often surprised that there's so much support for database ddl and querying, but not so much support for actually doing something more with the data, like graphing and other visualisations.

And to plug my own little endeavour :-) if you're on Linux and are looking for a quick and easy to use Forms builder, here's my early beta http://www.data-forms-action.com/

Supports MySQL and Postgres currently.

Re:Pgweb: Web-based PostgreSQL database browser written in Go by hamiltor on Tuesday October 28, 2014 @06:27AM (#8520251)
If you are looking for sql graphing check out http://www.sqldashboards.com/ It supports MS-SQL, MySQL, Postgres and allows creating live interactive charts directly from SQL queries. There's also a command line interface for generating static .png images. Disclaimer: I make the software
Re:Pgweb: Web-based PostgreSQL database browser written in Go by sfjailbird on Tuesday October 28, 2014 @10:41AM (#8521162)
TeamPostgreSQL is a web based Postgres interface with many of the features you mentioned. http://www.teampostgresql.com
Re:Pgweb: Web-based PostgreSQL database browser written in Go by thorin on Tuesday October 28, 2014 @06:53AM (#8520314)
pl/sql developer is really great on Oracle and more stripped down and developer focused than toad. SSMS for sqlserver I find really good for some stuff and fairly awful for some other stuff (editting data)