| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: finding changed blocks using WAL scanning |
| Date: | 2019-04-21 22:24:50 |
| Message-ID: | CA+TgmobjwOX3N7rGVxTzr8oCQQ-QBzgWYFVjfypLjZJ4o53Qgg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Sat, Apr 20, 2019 at 5:54 PM Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> Good point. You mentioned:
>
> It seems better to me to give the files names like
> ${TLI}.${STARTLSN}.${ENDLSN}.modblock, e.g.
> 00000001.0000000168000058.00000001687DBBB8.modblock, so that you can
> see exactly which *records* are covered by that segment.
>
> but it seems like it should be ${TLI}.${ENDLSN}... (END first) because
> you would not want to delete the modblock file until you are about to
> delete the final WAL, not the first WAL, but as you mentioned, it might
> be ENDLSN-1.
Hmm. It seems to me that it is almost universally the convention to
put the starting point prior to the ending point. If you are taking a
biology class, the teacher will not tell you to study chapters six
through three.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-04-21 22:39:47 | Re: jsonpath |
| Previous Message | Michał phoe Herda | 2019-04-21 22:03:06 | Allow any[] as input arguments for sql/plpgsql functions to mimic format() |