pgsql: Throw a more on-point error for functions depending on columns.

2024-04-28 Thread Tom Lane
Throw a more on-point error for functions depending on columns. ALTER COLUMN TYPE wasn't expecting to find any pg_proc objects depending on the column whose type is to be altered. That indeed wasn't possible when this code was written, but it is possible since we introduced new-style SQL function

pgsql: Throw a more on-point error for functions depending on columns.

2024-04-28 Thread Tom Lane
Throw a more on-point error for functions depending on columns. ALTER COLUMN TYPE wasn't expecting to find any pg_proc objects depending on the column whose type is to be altered. That indeed wasn't possible when this code was written, but it is possible since we introduced new-style SQL function

pgsql: Throw a more on-point error for functions depending on columns.

2024-04-28 Thread Tom Lane
Throw a more on-point error for functions depending on columns. ALTER COLUMN TYPE wasn't expecting to find any pg_proc objects depending on the column whose type is to be altered. That indeed wasn't possible when this code was written, but it is possible since we introduced new-style SQL function

pgsql: Throw a more on-point error for functions depending on columns.

2024-04-28 Thread Tom Lane
Throw a more on-point error for functions depending on columns. ALTER COLUMN TYPE wasn't expecting to find any pg_proc objects depending on the column whose type is to be altered. That indeed wasn't possible when this code was written, but it is possible since we introduced new-style SQL function