Files
teleport/lib/backend
Luke Okraszewski 2d2152ee32 [pgbk] Handle 42P07 in Retry{Idempotent} (#69321)
This change adds the error handling for Retry logic
in pgbk to also handle `pgerrcode.DuplicateTable`.

When two (or more) auth instances both try to create/setup
the same schema at nearly the same time, even with `IF NOT EXISTS`,
Postgres can still return `duplicate_table` (`42P07`) in a concurrent
create race. Retrying lets the losing instance re-check after the
winning instance finishes creating the table.
2026-08-11 13:00:22 +00:00
..
2025-06-27 18:16:44 +00:00
2025-06-27 18:16:44 +00:00
2025-06-27 18:16:44 +00:00