Re: row description for domain in 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: row description for domain in 7.4
Дата
Msg-id 25210.1056693626@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: row description for domain in 7.4  (John DeSoi <jd@icx.net>)
Ответы Re: row description for domain in 7.4  (John DeSoi <jd@icx.net>)
Список pgsql-hackers
John DeSoi <jd@icx.net> writes:
> No hard feelings about it, but I'm really surprised existing behavior 
> will be broken when the technical reasons for changing it were so weak. 

We've only had domains for one release cycle, so it seems to me that
there's not a lot of track record to justify a "this is how we've always
done it" position for domain-related behaviors.  Especially when the
odds seem good that few people are really using domains.  (Barry pointed
out that JDBC has been broken for the entire release cycle because it
couldn't handle I/O of domain types with the 7.3 RowDescription behavior
... but no one's complained to him yet ...)

I thought the rationale that client libraries would know about base
types but not domain types was pretty good, actually.  From the
backend's perspective, reduction of domains to base types in
RowDescription takes extra code and extra cycles, so I'd have resisted
the argument if I had anything to stand on --- but I didn't.  I'd say
your suggestion that the client side wants to distinguish domains from
base types is really the weaker end of the argument ...
        regards, tom lane


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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: row description for domain in 7.4
Следующее
От: James Pye
Дата:
Сообщение: persistant psql feature suggestion