Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    1f0b62e8
    Throw an appropriate error if ALTER COLUMN TYPE finds a dependent trigger. · 1f0b62e8
    Tom Lane authored
    Actually making this case work, if the column is used in the trigger's
    WHEN condition, will take some new code that probably isn't appropriate
    to back-patch.  For now, just throw a FEATURE_NOT_SUPPORTED error rather
    than allowing control to reach the "unexpected object" case.  Per bug #5688
    from Daniel Grace.  Back-patch to 9.0 where the possibility of such a
    dependency was introduced.
    1f0b62e8
    History
    Throw an appropriate error if ALTER COLUMN TYPE finds a dependent trigger.
    Tom Lane authored
    Actually making this case work, if the column is used in the trigger's
    WHEN condition, will take some new code that probably isn't appropriate
    to back-patch.  For now, just throw a FEATURE_NOT_SUPPORTED error rather
    than allowing control to reach the "unexpected object" case.  Per bug #5688
    from Daniel Grace.  Back-patch to 9.0 where the possibility of such a
    dependency was introduced.