David Fetter <da...@fetter.org> writes: > On Tue, Jul 10, 2012 at 12:00:06PM -0400, Tom Lane wrote: >> ISTM there was some discussion awhile back about user-definable >> typing shortcuts in psql.
> In some sense, we already have them: Good point: regression=# show search_path ; search_path ---------------- "$user",public (1 row) regression=# \set n 'set search_path =' regression=# :n foo; SET regression=# show search_path ; search_path ------------- foo (1 row) So maybe what's needed here is a documentation example showing how you can use a \set in ~/.psqlrc to provide this sort of functionality. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers