pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #13967: Documentation. Plpgsql 'execute' description
2+ messages / 2 participants
[nested] [flat]
* BUG #13967: Documentation. Plpgsql 'execute' description
@ 2016-02-17 15:11 iurii.i.popov@gmail.com
2016-02-17 17:22 ` Re: BUG #13967: Documentation. Plpgsql 'execute' description David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: iurii.i.popov@gmail.com @ 2016-02-17 15:11 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 13967
Logged by: Iurii Popov
Email address: iurii.i.popov@gmail.com
PostgreSQL version: 9.5.1
Operating system: Ubuntu
Description:
At
http://www.postgresql.org/docs/9.5/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
you can see
If multiple rows are returned, only the first will be assigned to the INTO
variable.
It will be useful to write information from (or a link to)
http://www.postgresql.org/docs/9.5/static/plpgsql-control-structures.html#AEN62513
about RETURN QUERY EXECUTE statement to return set of rows.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #13967: Documentation. Plpgsql 'execute' description
2016-02-17 15:11 BUG #13967: Documentation. Plpgsql 'execute' description iurii.i.popov@gmail.com
@ 2016-02-17 17:22 ` David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2016-02-17 17:22 UTC (permalink / raw)
To: iurii.i.popov@gmail.com; +Cc: pgsql-bugs
On Wed, Feb 17, 2016 at 8:11 AM, <iurii.i.popov@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13967
> Logged by: Iurii Popov
> Email address: iurii.i.popov@gmail.com
> PostgreSQL version: 9.5.1
> Operating system: Ubuntu
> Description:
>
> At
>
> http://www.postgresql.org/docs/9.5/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN
>
> you can see
>
> If multiple rows are returned, only the first will be assigned to the INTO
> variable.
>
> It will be useful to write information from (or a link to)
>
> http://www.postgresql.org/docs/9.5/static/plpgsql-control-structures.html#AEN62513
>
> about RETURN QUERY EXECUTE statement to return set of rows.
>
The former (returning a value into a internally defined variable) is
separate from the second (returning a value to outside the function).
While they do have some relation to each other - namely the former can be
used to set variables that are then externally returned - that seems
insufficient.
But, maybe I'm too familiar with this. Maybe a more detailed suggestion
would make the need more clear.
In any case this seems to be quite far from being a bug. There is a
pgsql-docs list where suggestions like this are better posted.
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-02-17 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 15:11 BUG #13967: Documentation. Plpgsql 'execute' description iurii.i.popov@gmail.com
2016-02-17 17:22 ` David G. Johnston <david.g.johnston@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox