Skip to content

Commit

Permalink
TMP time to sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
alco committed Sep 20, 2023
1 parent 378ddfe commit 28d6f77
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ defmodule Electric.Replication.Postgres.Client do
# with {:ok, _, [{oid}]} <- :epgsql.squery(conn, query_str) do
# query_str = "SELECT (quote_ident($1) || '.' || quote_ident($2))::regclass::oid"
# with {:ok, _, [{oid}]} <- :epgsql.equery(conn, query_str, [schema, table]) do

Process.sleep(1000)

with {:ok, relkind} <- Map.fetch(@relkind, rel_type),
{:ok, _, [{oid}]} <- :epgsql.equery(conn, @pg_class_query, [schema, table, relkind]) do
{:ok, String.to_integer(oid)}
Expand Down

0 comments on commit 28d6f77

Please sign in to comment.