Re: [HACKERS] COPY as a set returning function
От | David Fetter |
---|---|
Тема | Re: [HACKERS] COPY as a set returning function |
Дата | |
Msg-id | 20170125163629.GA17194@fetter.org обсуждение исходный текст |
Ответ на | Re: [HACKERS] COPY as a set returning function (David Fetter <david@fetter.org>) |
Ответы |
Re: [HACKERS] COPY as a set returning function
|
Список | pgsql-hackers |
On Wed, Jan 25, 2017 at 06:16:16AM -0800, David Fetter wrote: > On Mon, Oct 31, 2016 at 04:45:40PM -0400, Corey Huinker wrote: > > Attached is a patch that implements copy_srf(). > > > > The function signature reflects cstate more than it reflects the COPY > > options (filename+is_program instead of FILENAME or PROGRAM, etc) > > The patch as it stands needs a rebase. I'll see what I can do today. Please find attached a rebase, which fixes an OID collision that crept in. - The patch builds against master and passes "make check". - The patch does not contain user-visible documentation or examples. - The patch does not contain tests. I got the following when I did a brief test. SELECT * FROM copy_srf(filename => 'ls', is_program => true) AS t(l text); server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed. Best, David. -- David Fetter <david(at)fetter(dot)org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
Вложения
В списке pgsql-hackers по дате отправления: