| From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
|---|---|
| To: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
| Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: +(pg_lsn, int8) and -(pg_lsn, int8) operators |
| Date: | 2020-04-23 12:09:22 |
| Message-ID: | CA+Tgmoa0gRq56Z517QABepGcpbK-SERkp4P+5JjuQH+3Y8v4Kw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Thu, Apr 23, 2020 at 5:21 AM Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> wrote:
> I'd like to propose to introduce the +(pg_lsn, int8) and -(pg_lsn, int8)
> operators. The + operator allows us to add the number of bytes into pg_lsn,
> resulting new pg_lsn. The - operator allows us to substract the number
> of bytes from pg_lsn, resulting new pg_lsn. Thought?
> I sometimes need these features for debuging purpose.
For anyone who missed it, this idea was popular on Twitter:
https://twitter.com/fujii_masao/status/1252652020487487488
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ranier Vilela | 2020-04-23 12:37:56 | [PATCH] Fix division by zero (explain.c) |
| Previous Message | Juan José Santamaría Flecha | 2020-04-23 12:07:09 | Re: PG compilation error with Visual Studio 2015/2017/2019 |