[BUGS] BUG #14465: cursor for insert into select ... returning cann'tstreaming fetch? - Mailing list pgsql-bugs

From digoal@126.com
Subject [BUGS] BUG #14465: cursor for insert into select ... returning cann'tstreaming fetch?
Date
Msg-id 20161214025653.14892.72446@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14465: cursor for insert into select ... returningcann't streaming fetch?
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14465
Logged by:          Zhou Digoal
Email address:      digoal@126.com
PostgreSQL version: 9.6.1
Operating system:   CentOS 6.x x64
Description:

HI,
   when i write a plpgsql return refcursor.
   the refcursor is a ```insert into .. select .. from .. returning *;```
query.
   but when i use auto_explain DEBUG it, i found the fetch after insert end,
not stream , insert and fetch the same time coordinat.  
   can PostgreSQL improve it?


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?
Next
From: "David G. Johnston"
Date:
Subject: Re: [BUGS] BUG #14465: cursor for insert into select ... returningcann't streaming fetch?