Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BABEL: Add reverse dependency between TSQL trigger and trigger functi…
…on during restore (yugabyte#22) TSQL triggers needs reverse dependency from trigger function to trigger. It helps in dropping function when trigger itself is dropped as trigger functions are internal to TSQL triggers. This dependency is added specifically for TSQL triggers only. During restore, TSQL triggers are restored using two parts, first function restore followed by trigger restore using PG semantics. This code path does not execute TSQL logic to add reverse dependency. As a fix, we have moved reverse dependency addition to a place which executes during both normal trigger creation and restore. Task: BABEL-3249 Signed-off-by: Surendra Vishnoi <[email protected]> (cherry picked from commit 86cb849947ddb702a5f21e0f637fd97f3e10be63)
- Loading branch information