Re: Can I create a TYPE (or DOMAIN) with arguments?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Can I create a TYPE (or DOMAIN) with arguments?
Дата
Msg-id 20080110155743.GE29714@svana.org
обсуждение исходный текст
Ответ на Re: Can I create a TYPE (or DOMAIN) with arguments?  (Erik Jones <erik@myemma.com>)
Ответы Re: Can I create a TYPE (or DOMAIN) with arguments?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Thu, Jan 10, 2008 at 08:58:07AM -0600, Erik Jones wrote:
> Postgres doesn't support parameterized type declarations directly
> (that I've ever heard of), but you could probably write a function
> that uses EXECUTE to do this.

IIRC 8.3 will include the user-defined typmod which will allow such
constructs...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

Вложения

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

Предыдущее
От: "Isak Hansen"
Дата:
Сообщение: Re: 8.2.4 serious slowdown
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Setting variables equal to elements from an Array