Re: regdatabase - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: regdatabase
Date
Msg-id aDocO6XGgLU8NRTa@nathan
Whole thread Raw
In response to Re: regdatabase  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, May 30, 2025 at 04:55:58PM -0400, Tom Lane wrote:
> Nathan Bossart <nathandbossart@gmail.com> writes:
>> For now, I've just added another case block for REGDATABASEOID to match the
>> others.  If there are problems with non-pinned objects being considered
>> shippable, it's not really the fault of this patch.  Also, from reading
>> around [0], I get the idea that "shippability" might just mean that the
>> same object _probably_ exists on the remote server.  Plus, there seems to
>> be very few use-cases for shipping reg* values in the first place.  But
>> even after reading lots of threads, code, and docs, I'm still not sure I
>> fully grasp all the details here.
> 
> It's all quite squishy, unfortunately, because shippability is a
> heuristic rather than something we can determine with certainty
> (at reasonable cost, anyway).  But I agree with treating regdatabase
> the same as the other reg* types, at least until someone shows up
> with a counterexample.

Got it, thanks for confirming.

-- 
nathan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: regdatabase
Next
From: Melanie Plageman
Date:
Subject: Re: Correcting freeze conflict horizon calculation