Skip to content

Drop unused partitioned_foreign_keys table

Patrick Bair requested to merge pb-drop-partitioned-foreign-keys into master

What does this MR do and why?

Related issue: #335046 (closed)

Drop the partitioned_foreign_keys table. This table was added as part of a feature to support foreign keys referencing partitioned tables, before native support was available in postgres.

However, this feature was never used. Once we upgraded to PG12 in %14.0 it was no longer needed, as support was added in postgres. We removed the code in !64658 (merged) in %14.1

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Patrick Bair

Merge request reports