Re: [DOC] pg_database_size/pg_tablespace_size error on a missing OID

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: solai v <solai(dot)cdac(at)gmail(dot)com>
Cc: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, shihao zhong <zhong950419(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [DOC] pg_database_size/pg_tablespace_size error on a missing OID
Date: 2026-09-11 08:42:29
Message-ID: 0BD451A4-48DD-4B81-803D-50399F0ED8C3@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 10 Sep 2026, at 07:27, solai v <solai(dot)cdac(at)gmail(dot)com> wrote:

> I reviewed and tested the v2 patch.

This indeed seems like a low-effort fix for this inconsistency which will need
to be backpatched into all supported branches. I can't see why we have this
inconsistency though, there is no technical reason behind it. Maybe we should
look at changing this in 20 to make all these functions behave the same?

I'll push the documentation fixup in the meantime though, as this is affecting
published branches.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-09-11 08:47:22 Re: Fix failing assert in deferred constraint trigger
Previous Message Andrey Borodin 2026-09-11 08:33:33 Re: Race between prepared transaction commit and checkpointer