pg.ddx.io  psycopg/psycopg GitHub issues and pull requests  
help / color / mirror / Atom feed
From: dvarrazzo (@dvarrazzo) <noreply+dvarrazzo@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 01:48:39 +0000
Message-ID: <gh-psycopg-psycopg-1322-c4676448570@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1322@github.com>
References: <gh-psycopg-psycopg-1322@github.com>

@DylanYoung 

> I'll update my PR with the missing magic methods

Please note that not necessarily all catalog types need implementing complete arithmetic. I haven't looked into the semantics of each of the types in your MR and I don't have it fresh on top of my head. Maybe not all those types represent an Euclidean space like LSNs do (i.e. supporting LSN - LSN -> int, LSN + int -> LSN operators).

view thread (28+ messages)  latest in thread

Message-ID: <gh-psycopg-psycopg-1322-c4676448570@github.com>
Permalink:  ../gh-psycopg-psycopg-1322-c4676448570@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