Re: Casting from a domain

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Casting from a domain
Дата
Msg-id 4228BB3F.8070600@archonet.com
обсуждение исходный текст
Ответ на Casting from a domain  ("Jim C. Nasby" <decibel@decibel.org>)
Список pgsql-general
Jim C. Nasby wrote:
> decibel=# create cast (interval as rrs.seconds) WITH FUNCTION rrs.interval_to_seconds(interval)  AS IMPLICIT;
                                      ^^^
> decibel=# select cast('1 month'::interval AS seconds);
> ERROR:  cannot cast type interval to seconds

It's not a schema issue is it? I.E. the lack of "rrs."?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Greg Patnude"
Дата:
Сообщение: Re: preserving data after updates
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Casting from a domain