Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Nov 21, 2024
1 parent 0a2d3e5 commit e30a44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,7 @@ func (c *PostgresConnector) PullFlowCleanup(ctx context.Context, jobName string)
// Slotname would be the job name prefixed with "peerflow_slot_"
slotName := "peerflow_slot_" + jobName
if _, err := c.conn.Exec(
ctx, `SELECT pg_drop_replication_slo(slot_name) FROM pg_replication_slots WHERE slot_name=$1`, slotName,
ctx, `SELECT pg_drop_replication_slot(slot_name) FROM pg_replication_slots WHERE slot_name=$1`, slotName,
); err != nil {
return fmt.Errorf("error dropping replication slot: %w", err)
}
Expand Down

0 comments on commit e30a44c

Please sign in to comment.