Re: create type question

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: create type question
Дата
Msg-id 20030512135530.V15441-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на create type question  (John DeSoi <jd@icx.net>)
Список pgsql-general
On Mon, 12 May 2003, John DeSoi wrote:

> I would like to create a new column type that just holds a text string
> (a lisp form). My only reason for creating a type is so that I can
> distinguish this field type from text fields and perform some extended
> processing when they are read by the client.
>
> Below is my first (newbie) attempt. Do I really have to do write
> something in C to accomplish this? Is there any kind of type "alias"
> feature?

You might just want to make a domain, something like:
 create domain lisp as text;


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

Предыдущее
От: John DeSoi
Дата:
Сообщение: create type question
Следующее
От: Kathy Zhu
Дата:
Сообщение: ctrl+C