Refactor: separate function to find all objects depending on a column

Peter Eisentraut <peter@eisentraut.org>

Commit: d4e66a39eb96ca514e3f49c85cf0b4b6f138854e
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2024-01-03T07:50:37Z
Releases: 17.0
Refactor: separate function to find all objects depending on a column

Move code from ATExecAlterColumnType() that finds the all the objects
that depend on the column to a separate function.  A future patch will
reuse this code.

Author: Amul Sul <sulamul@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAAJ_b94yyJeGA-5M951_Lr+KfZokOp-2kXicpmEhi5FXhBeTog@mail.gmail.com

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +214 −194

Discussion