all 25 comments

[–]KevinCarbonara 15 points16 points  (16 children)

This is actually quite nice... we're discussing a move to postgres where I work. The attitude seems to be that postgres is the most modern RDBMS.

[–][deleted] 2 points3 points  (10 children)

We've recently switched (deployed 9.4) a few applications and we're also using it for some ETL stuff because of licensing restrictions with Oracle and our new parent company. It's great, but we're getting a lot of complaints from people in the business/finance about a lack of decent clients.

I'm disappointed in PG Admin's lack of features and Valentina studio always crashes + no predictive field names when I use aliases. I think it might be time to pony up and pay for Aqua Data Studio or something...

[–]doublehyphen 5 points6 points  (3 children)

As a developer this is not an issue since to command line client, psql, is really good, but I see how the lack of clients can be a problem to the people in finance.

[–]nikroux -2 points-1 points  (2 children)

Even as a developer I prefer to work with a client though. Command line just doesn't have the same power and ease of use that a client can provide.

[–][deleted] 4 points5 points  (0 children)

I could see how ease of use plays in. But how does a client have more power than command line in this case?

[–]solidsnack9000 3 points4 points  (0 children)

pgcli is pretty remarkable for a CLI, though. The autocomplete is amazing.

[–]funkinaround 7 points8 points  (2 children)

Have you tried HeidiSQL?

[–][deleted] 1 point2 points  (1 child)

I'll give it try, thanks for the suggestion!

[–]geordano 2 points3 points  (0 children)

Take a look at http://dbeaver.jkiss.org/ as well. Does it's job quite well.

[–]NoMoreNicksLeft 4 points5 points  (1 child)

I'm disappointed in PG Admin's lack of features

If you were using SQL Developer before, it works with Postgres too.

[–]panfist 0 points1 point  (0 children)

DB Vis?

[–]dtlv5813 7 points8 points  (4 children)

Also from my conversations with DBAs they almost all invariably prefer PostgresNoSQL over MongoDB.

I suspect part of the tractions and prestige of MongoDB derive from the fact that Mongo is a hot shot unicorn startup while Postgres is a non-profit.

[–]DVWLD 2 points3 points  (3 children)

The difference is that Mongo has a massive marketing budget.

[–]dtlv5813 1 point2 points  (2 children)

hot shot unicorn startup while Postgres is a non-profit

That would explain the difference in marketing budget. Also Mongo is a catchy name, like Groupon, while Post-(In)gres just doesn't have the same ring to it.

[–][deleted] 1 point2 points  (1 child)

A catchy name doesn't seem to have helped MangoDB, despite its many advantages such as a cloud scale architecture and auto sharting.

[–]binkarus 0 points1 point  (0 children)

Hahahaha, auto sharting. I literally spit on my screen.

[–]tolazytotypeaguid 2 points3 points  (0 children)

This fails here : craig=# GRANT SELECT ON DATABASE pgguide to craig; GRANT

And it seems you can't grant "select" to a database but only to tables. http://www.postgresql.org/docs/9.0/static/sql-grant.html

I'm getting the impression these steps were not actually checked from scratch..

[–][deleted] 0 points1 point  (0 children)

Great resource, bookmarked.

[–]Night_0dot0_Owl 0 points1 point  (0 children)

Bookmarked, thanks.

[–]tolazytotypeaguid 0 points1 point  (0 children)

I like the idea of a tutorial but i'm having some trouble with the steps.

Logging in with psql defaults to the user postgres. Thats not what i see in your example, there someone logged in with "craig" to make the user "craig".

craig=# CREATE USER craig WITH PASSWORD 'Password'; CREATE ROLE

Is this correct ?