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] issue #1157: proposal: retrieve range value dumper from inner_oid setting
Date: Sat, 18 Oct 2025 11:46:18 +0000
Message-ID: <gh-psycopg-psycopg-1157-c3418318598@github.com> (raw)
In-Reply-To: <gh-psycopg-psycopg-1157@github.com>
References: <gh-psycopg-psycopg-1157@github.com>

I also wonder how much these objects are used and if squeezing performance is really a benefit in real case scenarios. Yes, if you create queries dumpling or loading a gazillion of them you will see a big difference, but are these queries realistic? Range objects are pretty exotic, I assume there will be only few columns of them in only few queries.

Don't fall into a sunk cost fallacy. These nested dumpers are complex beasts: tests should cover all the corner cases, but you are bound to find many errors the hard way.

view thread (16+ messages)  latest in thread

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