| От | Kevin Grittner |
|---|---|
| Тема | Re: Can you create aliases in the psql shell? |
| Дата | |
| Msg-id | 1360542770.82146.YahooMailNeo@web162906.mail.bf1.yahoo.com обсуждение исходный текст |
| Ответ на | Can you create aliases in the psql shell? (Modulok <modulok@gmail.com>) |
| Ответы |
Re: Can you create aliases in the psql shell?
|
| Список | pgsql-general |
Modulok <modulok@gmail.com> wrote: > 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? \set list_databases '\\l' Then you can type :list_databases to get the same effect as \l -Kevin
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера