Re: textarray option for file FDW

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: textarray option for file FDW
Date: 2011-01-15 17:44:29
Message-ID: 396.1295113469@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2011-01-15 17:53:55 Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql
Previous Message Andrew Dunstan 2011-01-15 17:29:24 textarray option for file FDW