Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround for pg_depend bug in PG < 15.4
PostgreSQL versions prior to 15.4 didn't properly update object dependencies when setting a new access method on a table. The fix for the bug is found in this commit: postgres/postgres@97d8910 The `hypercore_create` test failed on buggy PG versions (e.g., 15.0) due to wrong contents of pg_depend showing up in test output when converting a table from Hypercore TAM back to regular heap. This change adds a workaround that updates pg_depend with the correct information when compiling against PG versions that suffer from the bug.
- Loading branch information