Re: small doc fix - using expressions in plpgsql FETCH command

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: small doc fix - using expressions in plpgsql FETCH command
Date: 2018-07-12 16:29:58
Message-ID: 8606.1531412998@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> PLpgSQL FETCH documentation is has ref on SQL FETCH command. SQL FETCH
> allows only int constants as count. PLpgSQL allows any expressions. In this
> case documentation is not clear, and people can be messy - and apply SQL
> FETCH limits on PLpgSQL FETCH.

Right. Pushed with some rewriting.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Freire 2018-07-12 16:38:18 Re: Vacuum: allow usage of more than 1GB of work mem
Previous Message Alvaro Herrera 2018-07-12 16:29:48 Re: TRUNCATE tables referenced by FKs on partitioned tables