Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Nov 10, 2023
1 parent eff2fb6 commit 95ccaa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/e2e/congen.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func SetupPostgres(suffix string) (*pgxpool.Pool, error) {
}

_, err = pool.Exec(context.Background(), `
SELECT pg_advisory_lock(hashtext('peerdb_pg_setup_lock'));
CREATE OR REPLACE FUNCTION random_string( int ) RETURNS TEXT as $$
SELECT string_agg(substring('0123456789bcdfghjkmnpqrstvwxyz',
round(random() * 30)::integer, 1), '') FROM generate_series(1, $1);
Expand Down

0 comments on commit 95ccaa9

Please sign in to comment.