Re: A simple way to Create type ...?

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: A simple way to Create type ...?
Дата
Msg-id 1A568736-E8B8-11D7-87CD-0030656EE7B2@icx.net
обсуждение исходный текст
Ответ на Re: A simple way to Create type ...?  (Christopher Browne <cbbrowne@acm.org>)
Список pgsql-sql
On Tuesday, September 16, 2003, at 05:27 PM, Christopher Browne wrote:

> What you want instead is CREATE DOMAIN.
>
> flexreg=# create domain addresstype varchar(50);


The problem here is that you can't tell the difference between a 
addresstype column and a varchar(50) column in the row description 
information returned by SELECT. All columns just look like varchar(50). 
It would be nice if there was something as easy as CREATE DOMAIN but 
worked more like CREATE TYPE.

Best,

John DeSoi, Ph.D.



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

Предыдущее
От: ow
Дата:
Сообщение: Re: A simple way to Create type ...?
Следующее
От: "Martin Kuria"
Дата:
Сообщение: sub query