Re: pg_walinspect last query typo

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, bharath(dot)rupireddyforpostgres(at)gmail(dot)com
Subject: Re: pg_walinspect last query typo
Date: 2023-05-25 09:16:38
Message-ID: 1B606F53-E495-4D49-98D8-4CDA7018B93F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 25 May 2023, at 11:13, jian he <jian(dot)universality(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-05-25 09:18:28 Re: pgindent vs. pgperltidy command-line arguments
Previous Message jian he 2023-05-25 09:13:06 pg_walinspect last query typo