pg.ddx.io psycopg/psycopg GitHub issues and pull requestshelp / color / mirror / Atom feed
[psycopg/psycopg] PR #1494: Build loaded UUIDs by writing their slots directly 3+ messages / 1 participants [nested] [flat]
* [psycopg/psycopg] PR #1494: Build loaded UUIDs by writing their slots directly @ 2026-11-11 14:48 "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@github.com> 0 siblings, 0 replies; 3+ messages in thread From: dvarrazzo (@dvarrazzo) @ 2026-11-11 14:48 UTC (permalink / raw) To: psycopg/psycopg <noreply+psycopg-psycopg@github.com> Build the int in a single call from the 16 bytes instead of shifting and or-ing two halves, and store `int` and `is_safe` straight into the UUID slots, whose offsets are read from the type descriptors. This replaces the writable subclass hack. Raise an error if the UUID layout is not the expected one. Keep a slower setattr-based version, unused, for a possible Limited API build. Replace #1272 ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [psycopg/psycopg] PR #1494: Build loaded UUIDs by writing their slots directly @ 2026-11-11 21:40 ` "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@github.com> 1 sibling, 0 replies; 3+ messages in thread From: dvarrazzo (@dvarrazzo) @ 2026-11-11 21:40 UTC (permalink / raw) To: psycopg/psycopg <noreply+psycopg-psycopg@github.com> @dvarrazzo merged this (commit aae598f0da5f). ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [psycopg/psycopg] PR #1494: Build loaded UUIDs by writing their slots directly @ 2026-11-11 21:40 ` "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@github.com> 1 sibling, 0 replies; 3+ messages in thread From: dvarrazzo (@dvarrazzo) @ 2026-11-11 21:40 UTC (permalink / raw) To: psycopg/psycopg <noreply+psycopg-psycopg@github.com> @dvarrazzo closed this. ^ permalink raw [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-11-11 21:40 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-11 14:48 [psycopg/psycopg] PR #1494: Build loaded UUIDs by writing their slots directly "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@github.com> 2026-11-11 21:40 ` "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@github.com> 2026-11-11 21:40 ` "dvarrazzo (@dvarrazzo)" <noreply+dvarrazzo@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