Re: Avoid orphaned objects dependencies, take 3
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Roman Eskin <r.eskin@arenadata.io>
Cc: Robert Haas <robertmhaas@gmail.com>, Jeff Davis <pgsql@j-davis.com>, Michael Paquier <michael@paquier.xyz>, Alexander Lakhin <exclusion@gmail.com>, pgsql-hackers@lists.postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2026-04-15T18:36:49Z
Lists: pgsql-hackers
Hi, On Sun, Nov 09, 2025 at 06:33:39PM +1000, Roman Eskin wrote: > Hi everybody, > > Apologies for jumping into this conversation. No problem at all, you're more than welcome to join it! > Our customers have also encountered a similar issue with the > concurrent drop of a dependent object. Yeah, it's not something so rare that one could thought (we also see a non negligible of them in our fleet). > In our code (in the Greengage > DB), we implemented a fix analogous to one of the first versions of > Bertrand's approach, using locking within the pg_depend code. > > In the long term, however, we are interested in aligning with the > upstream Postgres code as much as possible. > > Since there haven't been any recent updates in this thread, we were > wondering if there are any plans for the next steps regarding this > issue. Apologies for this late reply. I plan to work on this again in the coming weeks. The next step I've in mind is to build the list of the P1 cases described above. Once we've that list I think we could start discussing the next steps. Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid orphaned objects dependencies
- 2fbb21170e90 19 (unreleased) landed
- 5100bdbd3ba2 14 (unreleased) landed
- 5fa137727db0 15 (unreleased) landed
- d9bc0d96c247 16 (unreleased) landed
- 3a9909eda207 17 (unreleased) landed
- c8cd3d6976f7 18 (unreleased) landed
-
Don't try to record dependency on a dropped column's datatype
- fd93ee100830 19 (unreleased) landed
- 36b6ed2606e1 14 (unreleased) landed
- ef3d7b15e4cd 15 (unreleased) landed
- d44cd467471c 16 (unreleased) landed
- c1588f92a915 17 (unreleased) landed
- f9d5a52da4ca 18 (unreleased) landed