Skip to content

Commit

Permalink
chore(batch-exports): Add non-retryable postgres error (#25230)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias authored Sep 26, 2024
1 parent 27e596e commit b692e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/temporal/batch_exports/postgres_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ async def run(self, inputs: PostgresBatchExportInputs):
# A user added a unique constraint on their table, but batch exports (particularly events)
# can cause duplicates.
"UniqueViolation",
# Something changed in the target table's schema that we were not expecting.
"UndefinedColumn",
],
finish_inputs=finish_inputs,
)

0 comments on commit b692e78

Please sign in to comment.