You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-postgres/src/test/resources/ddl/ddl_audit.sql
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
-- See the License for the specific language governing permissions and
14
14
-- limitations under the License.
15
15
16
-
-- Create event listener table and associate it with event triggers to listen for ddl_command_end and sql_drop events
16
+
-- Create event listener table and associate it with event triggers to listen for ddl_command_end and sql_drop events.
17
17
DROPSCHEMA IF EXISTS audit CASCADE;
18
18
CREATESCHEMAaudit;
19
19
@@ -62,6 +62,9 @@ DECLARE
62
62
BEGIN
63
63
FOR r INSELECT*FROM pg_event_trigger_dropped_objects()
64
64
LOOP
65
+
IF r.object_type='table column' THEN
66
+
CONTINUE;
67
+
END IF;
65
68
IF r.schema_name='audit'ANDr.object_identityLIKE'audit.ddl_log%' THEN
0 commit comments