show casts and conversions in psql (2nd try)

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема show casts and conversions in psql (2nd try)
Дата
Msg-id 00d701c29f3c$eb386130$6500a8c0@internal
обсуждение исходный текст
Ответы Re: show casts and conversions in psql (2nd try)  (Peter Eisentraut <peter_e@gmx.net>)
Re: show casts and conversions in psql (2nd try)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: show casts and conversions in psql (2nd try)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
(Doh!  Forgot to attach first time.)

This partially nails this TODO item:

* Add schema, cast, and conversion backslash commands to psql

I had to create a new publically available function,
pg_conversion_is_visible, as it seemed to be missing from the catalogs.
This required me to do no small amount of hacking around in namespace.c

I have updated the \? help and sgml docs.

\dc - list conversions [PATTERN]
\dC - list casts

I didn't support patterns with casts as there's nothing obvious to match
against.

I've tested it a fair bit and I can't see any problems.  Feel free to do a
once over on my backend changes tho.

Chris

Вложения

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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: show casts and conversions in psql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER DOMAIN .. OWNER TO ..