Re: small patch

2021-10-07 Thread Tom Lane
rir writes: > On Thu, Oct 07, 2021 at 07:58:47AM +0200, Laurenz Albe wrote: >> Can you think of a way to modify the syntax diagram so that it >> expresses that and still remains comprehensible? > For myself, >'FETCH [ [ FROM | IN ] ] ' > clearly indicates that 'direction' is optional.

Re: small patch

2021-10-07 Thread Alvaro Herrera
On 2021-Oct-07, rir wrote: > For myself, >'FETCH [ [ FROM | IN ] ] ' > clearly indicates that 'direction' is optional. Hmm, aren't you misreading the scope of the outer square brackets? If is optional independently of [FROM|IN], then the synopsis should be FETCH [ ] [ FROM | IN ] and

Re: small patch

2021-10-07 Thread rir
On Thu, Oct 07, 2021 at 07:58:47AM +0200, Laurenz Albe wrote: > On Wed, 2021-10-06 at 23:39 -0400, rir wrote: > > On Mon, Oct 04, 2021 at 08:18:22AM +0200, Laurenz Albe wrote: > > > On Fri, 2021-10-01 at 21:06 -0400, rir wrote: > > > > Minor changes to move.sgml and fetch.sgml. > > > However, I

Re: Correction to documentation at https://www.postgresql.org/docs/12/kernel-resources.html

2021-10-07 Thread Sanjeev Adwal
Thanks Thomas. Looks like I misread that. On Wednesday, 6 October, 2021, 04:56:42 am IST, Thomas Munro wrote: On Wed, Oct 6, 2021 at 3:48 AM Tom Lane wrote: > PG Doc comments form writes: > > On https://www.postgresql.org/docs/12/kernel-resources.html, the command to > > calculate