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

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

2018-07-12 18:29 GMT+02:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:

> 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.
>

Thank you

Pavel

> regards, tom lane
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2018-07-12 17:06:42 Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian
Previous Message Andres Freund 2018-07-12 16:53:58 Re: Fix error message when trying to alter statistics on included column