Create index concurrently (#2659)

This commit is contained in:
William FH
2024-12-05 15:56:39 -08:00
committed by GitHub
parent b7e441d781
commit 93e4c8cc1f
7 changed files with 55 additions and 55 deletions
+2 -3
View File
@@ -57,9 +57,8 @@ def _pipe_saver():
prepare_threshold=0,
row_factory=dict_row,
) as conn:
with conn.pipeline() as pipe:
checkpointer = PostgresSaver(conn, pipe=pipe)
checkpointer.setup()
checkpointer = PostgresSaver(conn)
checkpointer.setup()
with conn.pipeline() as pipe:
checkpointer = PostgresSaver(conn, pipe=pipe)
yield checkpointer