On Fri, 23 Apr 2010 14:34:45 -0700
Steve Atkins wrote:
> > Maybe a configuration variable along the lines of 'always_show_comments'
> > would be a better design.
>
> Or more generally an ability to set aliases via .psqlrc similar to \set,
> maybe?
>
> \alias "\d-" = "\d"
> \alias "\d" = "\d+
On Fri, 23 Apr 2010 14:28:38 -0400
Tom Lane wrote:
> If we were to do something like that, it would certainly have to affect
> every \d variant that has a + option. Which is probably not a very good
> idea --- in many cases that's a very expensive/verbose option. I can't
> get excited about thi
I asked on IRC if there was any way to make \d behave like \d+ by default, and
davidfetter said no but suggest it here.
endpoint_david pointed out you could use \d- to get the old behavior if you
wanted to temporarily negate the setting.
So the proposal would be:
\d+ does as it has always done