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: Wed, 18 Nov 2026 14:08:35 +0000
Message-ID: <gh-psycopg-psycopg-1322-rc4615262990@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1322-rc3407113951@github.com>
References: <gh-psycopg-psycopg-1322@github.com>
<gh-psycopg-psycopg-1322-rc3407113951@github.com>
(on psycopg/psycopg/types/catalog.py:31)
The goal at the moment is not loading speed, but rather to define an interface and a behaviour.
When we will really want speed we will implement this in C (which we can do later) and we can have a fast-load procedure similar to what done for UUID (see [`uuid.pyx`](https://github.com/psycopg/psycopg/blob/3.3.9/psycopg_c/psycopg_c/types/uuid.pyx#L55-L72), which received further optimization in 3.3.9)