Can you create aliases in the psql shell?

Поиск
Список
Период
Сортировка
От Modulok
Тема Can you create aliases in the psql shell?
Дата
Msg-id CAN2+EpaHet2ePNNNKiGwx4nprEJxnTdmvAH-83_txr3h1PGkSQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Can you create aliases in the psql shell?  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-general
List,

Is there a way to create command aliases in the psql shell? I can never
remember all the \d* commands and have to look them up every time. If I could
create things like \list_databases, \list_tables, \list_roles, etc, it would be
much easier for me to remember.

Is there a way to create such aliases? I'm using 9.2.3 if that matters. I
didn't see anything in the man page. If not is there another command line
client interface?

Cheers!
-Modulok-

В списке pgsql-general по дате отправления:

Предыдущее
От: Andrew Taylor
Дата:
Сообщение: Re: var/log/postgresql deletion mystery Ubuntu 12.10
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Can you create aliases in the psql shell?