From: dvarrazzo (@dvarrazzo) <noreply+dvarrazzo@github.com>
To: psycopg/psycopg <noreply+psycopg-psycopg@github.com>
Subject: Re: [psycopg/psycopg] PR #1272: refactor(c): drop class replacement hack to make UUID writable
Date: Sun, 01 Mar 2026 22:06:52 +0000
Message-ID: <gh-psycopg-psycopg-1272-c3981140199@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1272@github.com>
References: <gh-psycopg-psycopg-1272@github.com>
Uhm... The original idea in #998 was actually what reimplemented here: see https://github.com/psycopg/psycopg/pull/998#issuecomment-2619228112
Looking at comments in the MR it seems that class replacement was an optimization.
We should benchmark the two solutions.