[HACKERS] proposal psql \gdesc

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема [HACKERS] proposal psql \gdesc
Дата
Msg-id CAFj8pRBhYVvO34FU=EKb=nAF5t3b++krKt1FneCmR0kuF5m-QA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] proposal psql \gdesc
Список pgsql-hackers
Hi

Sometimes I have to solve the result types of some query. It is invisible in psql. You have to materialize table or you have to create view. Now, when we can enhance \g command, we can introduce query describing

some like

select a, b from foo
\gdesc

     |   type     | length | collation | ....
------------------------------------------------
 a  | varchar  |     30  |
 b  | numeric |      20 | 

What do you think about this idea?

Regards

Pavel    

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] PG 10 release notes
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] PG 10 release notes