Re: [PATCH] psql \n shortcut for set search_path =
Josh Kupershmidt <schmiddy@gmail.com>
From: Josh Kupershmidt <schmiddy@gmail.com>
To: "Colin 't Hart" <colin@sharpheart.org>
Cc: pgsql-hackers@postgresql.org
Date: 2012-07-10T14:59:57Z
Lists: 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