Re: Trying to add a type modifier to user created type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Trying to add a type modifier to user created type
Дата
Msg-id 20518.1266508006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Trying to add a type modifier to user created type  (Yeb Havinga <yebhavinga@gmail.com>)
Ответы Re: Trying to add a type modifier to user created type  (Carsten Kropf <ckropf2@fh-hof.de>)
Список pgsql-general
Yeb Havinga <yebhavinga@gmail.com> writes:
> Carsten Kropf wrote:
>> I wanted to add a new type that supports modifiers (comparable to
>> numeric/varchar).

> You need to add a cast from the type to itself, e.g.

The CREATE CAST reference page has the gory details here.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: errmsg and multi-byte strings.
Следующее
От: Vick Khera
Дата:
Сообщение: Re: SQL select return into PSQL variables.