Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by keithy on Thursday June 18, 2015 @09:10AM
(#9738267)
The backslash commands are way better than having to type out SHOW TABLES; or SHOW DATABASES;, or CONNECT DATABASE X. All I have to do is \dt or \c x. It's so much better. Can't remember them? Just do \?.
[ Parent
| on HN ]
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by realusername on Thursday June 18, 2015 @09:44AM
(#9738440)
That's also the problem I have, \dt,\c just don't make sense at all and I never remember them whereas 'SHOW TABLES' does not even need explanations. It's also the same thing with the unix users, I never fully understood how postgres handles user permissions. I would say that Postgres itself is really really good but the tooling around is just not there yet.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by noir_lord on Thursday June 18, 2015 @10:33AM
(#9738715)
I just remembered it as \d as display and \dt as display tables.
I often invent mnemonics that only mean something to me until muscle memory kicks in.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by bshimmin on Thursday June 18, 2015 @10:41AM
(#9738778)
Here's a nice one-page cheat sheet, of which about 75% you will probably never need to use: http://www.postgresonline.com/downloads/special_feature/post...
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by noir_lord on Thursday June 18, 2015 @01:43PM
(#9740372)
Thats excellent, thanks :).
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by collyw on Thursday June 18, 2015 @10:07AM
(#9738559)
Thats like trying to say emacs is easier than eclipse. Sure it may be more efficient once you are used to it, but its not more intuitive.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by baq on Thursday June 18, 2015 @11:03AM
(#9738955)
eclipse and intuitive shouldn't ever be used in the same sentence. emacs ditto, but calling one more intuitive from another is missing the point by about 1 AU.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by collyw on Thursday June 18, 2015 @03:58PM
(#9741242)
Eclipse isn't great in that respect, but choosing something from a menu is definitely more intuitive than remembering the cryptic commands in emacs.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by semi-extrinsic on Thursday June 18, 2015 @07:01PM
(#9742101)
"The only intuitive interface is the nipple, after that it's all learned." - Bruce Ediger
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video]
by collyw on Friday June 19, 2015 @04:07AM
(#9743527)
Sure but a menu is still more intuitive than C-c.
(I even had to check the fact that C- is the ctrl key when looking up this command. I noticed commands listed as M-w - I have no idea what keys that represents).