From: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Peter Geoghegan <pg(at)heroku(dot)com>, Ian Barwick <ian(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Greg Stark <stark(at)mit(dot)edu>, Jim Nasby <jim(at)nasby(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Subject: | Re: Doing better at HINTing an appropriate column within errorMissingColumn() |
Date: | 2014-06-17 21:15:19 |
Message-ID: | 1403039719.24313.YahooMailNeo@web122301.mail.ne1.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I wouldn't necessarily hold up git as a model of user interface
> engineering ;-) ... but still, it might be interesting to take a
> look at exactly what heuristics they used here. I'm sure there
> are other precedents we could look at, too.
On my Ubuntu machine, bash does something similar. A few examples
chosen completely arbitrarily:
kgrittn(at)Kevin-Desktop:~$ got
No command 'got' found, did you mean:
Command 'go' from package 'golang-go' (universe)
Command 'gout' from package 'scotch' (universe)
Command 'jot' from package 'athena-jot' (universe)
Command 'go2' from package 'go2' (universe)
Command 'git' from package 'git' (main)
Command 'gpt' from package 'gpt' (universe)
Command 'gom' from package 'gom' (universe)
Command 'goo' from package 'goo' (universe)
Command 'gst' from package 'gnu-smalltalk' (universe)
Command 'dot' from package 'graphviz' (main)
Command 'god' from package 'god' (universe)
Command 'god' from package 'ruby-god' (universe)
got: command not found
kgrittn(at)Kevin-Desktop:~$ groupad
No command 'groupad' found, did you mean:
Command 'groupadd' from package 'passwd' (main)
Command 'groupd' from package 'cman' (main)
groupad: command not found
kgrittn(at)Kevin-Desktop:~$ asdf
No command 'asdf' found, did you mean:
Command 'asdfg' from package 'aoeui' (universe)
Command 'sadf' from package 'sysstat' (main)
Command 'sdf' from package 'sdf' (universe)
asdf: command not found
kgrittn(at)Kevin-Desktop:~$ zxcv
zxcv: command not found
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2014-06-17 21:28:53 | Re: Doing better at HINTing an appropriate column within errorMissingColumn() |
Previous Message | Peter Geoghegan | 2014-06-17 21:10:15 | Re: btreecheck extension |