From: | "Colin 't Hart" <colin(at)sharpheart(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | [PATCH] psql \n shortcut for set search_path = |
Date: | 2012-07-10 09:09:34 |
Message-ID: | CAMon-aT6b3s9mx6BuokBGy0rh5_dPawuV9-8rBW2oLO=k-rPSg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Attached please find a trivial patch for psql which adds a \n meta command
as a shortcut for typing set search_path =.
This allows you to use psql as follows:
\dn
\n my_schema
\d
\d my_table
etc.
Not yet done: updating documentation (psql internal help, psql man page,
main documentation).
If this is something that is desired (I hope so as this is something I now
use a lot), I will update the documentation and resubmit.
Cheers,
Colin
Attachment | Content-Type | Size |
---|---|---|
psql_slash_n.patch | application/octet-stream | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2012-07-10 09:38:52 | Re: Testing of various opclasses for ranges |
Previous Message | Magnus Hagander | 2012-07-10 07:50:32 | Re: has_language_privilege returns incorrect answer for non-superuser |