Can psql show the column type of a result ?

Поиск
Список
Период
Сортировка
От Nils O. Selåsdal
Тема Can psql show the column type of a result ?
Дата
Msg-id 4C9A5E63.6020705@asgaard.homelinux.org
обсуждение исходный текст
Ответы Re: Can psql show the column type of a result ?  (Richard Broersma <richard.broersma@gmail.com>)
Re: Can psql show the column type of a result ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
  Hello,
I'm wondering if there's a way to show the column type of a result with
psql, e.g.

 > select sum(r) from mytable;
    r
-------
  101.0

I'd like to see the type of the 'r' column.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nested literal parsing rules?
Следующее
От: Awodipe James
Дата:
Сообщение: Compiling openssl