Re: pg_walinspect last query typo - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pg_walinspect last query typo
Date
Msg-id 1B606F53-E495-4D49-98D8-4CDA7018B93F@yesql.se
Whole thread Raw
In response to pg_walinspect last query typo  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
> On 25 May 2023, at 11:13, jian he <jian.universality@gmail.com> wrote:
> 
> hi.
> https://www.postgresql.org/docs/current/pgwalinspect.html
> 
> last query should be:
> SELECT * FROM pg_get_wal_stats('0/1E847D00', '0/1E84F500')
> WHERE   count > 0 AND
>         "resource_manager/record_type" = 'Transaction'
> LIMIT 1;

Nice catch, the LIMIT 1 has indeed landed in the wrong place. Will fix.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: pg_walinspect last query typo
Next
From: Daniel Gustafsson
Date:
Subject: Re: pgindent vs. pgperltidy command-line arguments