Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION
Дата
Msg-id
1259220130.19289.508.camel@jdavis
Ответ на
Список
Дерево обсуждения
[PATCH 0/4] COPY to a UDF: "COPY ... TO FUNCTION ..." Daniel Farina <dfarina@truviso.com>
[PATCH 1/4] Add "COPY ... TO FUNCTION ..." support Daniel Farina <dfarina@truviso.com>
[PATCH 2/4] Add tests for "COPY ... TO FUNCTION ..." Daniel Farina <dfarina@truviso.com>
[PATCH 3/4] Add dblink functions for use with COPY ... TO FUNCTION ... Daniel Farina <dfarina@truviso.com>
[PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <dfarina@truviso.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <dfarina@truviso.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Greg Smith <greg@2ndquadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@krosing.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION "Andrew Dunstan" <andrew@dunslane.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Greg Smith <greg@2ndquadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Greg Smith <greg@2ndquadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION "Andrew Dunstan" <andrew@dunslane.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION "Andrew Dunstan" <andrew@dunslane.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION David Fetter <david@fetter.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Simon Riggs <simon@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Pavel Stehule <pavel.stehule@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@acm.org>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Jeff Davis <pgsql@j-davis.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <dfarina@truviso.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Hannu Krosing <hannu@2ndQuadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <drfarina@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Greg Smith <greg@2ndquadrant.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Andrew Dunstan <andrew@dunslane.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Robert Haas <robertmhaas@gmail.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Andrew Dunstan <andrew@dunslane.net>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <dfarina@truviso.com>
Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION Daniel Farina <dfarina@truviso.com>
On Thu, 2009-11-26 at 00:35 -0500, Andrew Dunstan wrote:
> On Wed, November 25, 2009 3:56 pm, Jeff Davis wrote:
> >
> > I worry that we're getting further away from the original problem. Let's
> > allow functions to get the bytes of data from a COPY, like the original
> > proposal. I am not sure COPY is the best mechanism to move records
> > around when INSERT ... SELECT already does that.
> >
> 
> 
> I am not at all sure I think that's a good idea, though. We have
> pg_read_file() for getting raw bytes from files. Building that into COPY
> does not strike me as a good fit.

I think we're in agreement. All I mean is that the second argument to
COPY should produce/consume bytes and not records. I'm not discussing
the internal implementation at all, only semantics.

In other words, STDIN is not a source of records, it's a source of
bytes; and likewise for STDOUT.

Regards,Jeff Davis


В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
От: Peter Eisentraut
Дата:
Сообщение: Re: cvs chapters in our docs
FAQ