From: DylanYoung (@DylanYoung) <noreply+DylanYoung@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] PR #1322: Add pg_lsn adapter
Date: Thu, 11 Jun 2026 18:13:50 +0000
Message-ID: <gh-psycopg-psycopg-1322-rc3398133626@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1322@github.com>
References: <gh-psycopg-psycopg-1322@github.com>
(on psycopg/psycopg/types/catalog.py:57)
@dvarrazzo Is there a reason you want to subtract two LSNs? Seems like it would be more useful to subtract an int from an LSN and get an LSN back (and do an overflow check of course), but maybe I'm missing some use-case for this.