Re: pg_casts view (was Re: date_trun() with timezones? (was Re: TIME column ...))
В списке pgsql-general по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: pg_casts view (was Re: date_trun() with timezones? (was Re: TIME column ...)) |
| Дата | |
| Msg-id | 49118F09.7080808@gmx.net обсуждение исходный текст |
| Ответ на | Re: pg_casts view (was Re: date_trun() with timezones? (was Re: TIME column ...)) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: pg_casts view (was Re: date_trun() with timezones? (was Re: TIME column ...))
|
| Список | pgsql-general |
Tom Lane wrote: > Alvaro Herrera <alvherre@commandprompt.com> writes: >> Tom Lane escribi�: >>> regression=# select casttarget::regtype,castcontext,castfunc::regprocedure from pg_cast where castsource = 'time'::regtype; > >> BTW it very much looks like we should have a pg_casts view that displays >> these things in a human-readable manner (like the above except with >> castcontext expanded) > > There already is a \dC command in psql, which has nice enough output > format but doesn't provide any way to select a subset of the table. > Maybe we should just agree that its argument is a pattern for the > castsource type's name? I'd say it could be a pattern for both source and target. Often times I am interested in casts in either direction.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера