pg.ddx.io  psycopg/psycopg GitHub issues and pull requests  
help / color / mirror / Atom feed
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. 

view thread (28+ messages)  latest in thread

Message-ID: <gh-psycopg-psycopg-1322-rc3398133626@github.com>
Permalink:  ../gh-psycopg-psycopg-1322-rc3398133626@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox