Re: Proposal: casts row to array and array to row

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: casts row to array and array to row
Дата
Msg-id 25836.1318340193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: casts row to array and array to row  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Proposal: casts row to array and array to row
Re: Proposal: casts row to array and array to row
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2011/10/11 Robert Haas <robertmhaas@gmail.com>:
>> On Tue, Oct 11, 2011 at 4:40 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>>> What do you think about this idea?

It's a bad one.

>> Well, a ROW can contain values of different types; an ARRAY can't.

> yes, I know - but it should be problem only in few cases - when is not
> possible to cast a row field to array field.

This idea is basically the same as "data types don't matter", which is
not SQL-ish and certainly not Postgres-ish.
        regards, tom lane


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

Предыдущее
От: PostgreSQL - Hans-Jürgen Schönig
Дата:
Сообщение: Re: index-only scans
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: unite recovery.conf and postgresql.conf