Re: textarray option for file FDW

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: textarray option for file FDW
Дата
Msg-id 396.1295113469@sss.pgh.pa.us
обсуждение исходный текст
Ответ на textarray option for file FDW  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: textarray option for file FDW  (Andrew Dunstan <andrew@dunslane.net>)
Re: textarray option for file FDW  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> ... So now I'd like to add a 
> new option to it: "textarray". This option would require that the 
> foreign table have exactly one field, of type text[], and would compose 
> all the field strings read from the file for each record into the array 
> (however many there are).

Why is this a good thing?  It seems like it would accomplish little
except to defeat the SQL type system entirely.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: textarray option for file FDW
Следующее
От: Noah Misch
Дата:
Сообщение: Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql