Skip to content

Instantly share code, notes, and snippets.

View K-J-HYEON's full-sized avatar
💻
Keep going!

KWON JAE HYEON K-J-HYEON

💻
Keep going!
View GitHub Profile
@K-J-HYEON
K-J-HYEON / gist:6245a1d34ca15cf6e3f165633fc910d7
Created July 11, 2023 05:52 — forked from cabecada/gist:da8913830960a644755b18a02b65e184
python postgres connection with retry example
#!/usr/bin/env python
#https://github.com/psycopg/psycopg2/issues/261
import psycopg2
ISOLEVEL = psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT
import time