Re: [PATCH] psql \n shortcut for set search_path = - Mailing list pgsql-hackers

From Josh Kupershmidt
Subject Re: [PATCH] psql \n shortcut for set search_path =
Date
Msg-id CAK3UJRFE5FyrjAREOFVD=R6Dx6Dfm8N-w=dNJJiUyhyUxHAX8g@mail.gmail.com
Whole thread Raw
In response to [PATCH] psql \n shortcut for set search_path =  ("Colin 't Hart" <colin@sharpheart.org>)
Responses Re: [PATCH] psql \n shortcut for set search_path =  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Jul 10, 2012 at 2:09 AM, Colin 't Hart <colin@sharpheart.org> wrote:
> Attached please find a trivial patch for psql which adds a \n meta command
> as a shortcut for typing set search_path =.

I think the use-case is a bit narrow: saving a few characters typing
on a command not everyone uses very often (I don't), at the expense of
adding yet another command to remember. Plus it opens the floodgates
to people wanting yet more separate commands for other possibly
commonly-used SET commands. There are a lot of GUCs, after all, even
counting only those changeable at runtime.

Josh


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: expression evaluation with expected datatypes
Next
From: Alvaro Herrera
Date:
Subject: Re: expression evaluation with expected datatypes