mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-27 10:00:38 +00:00
Fix LSN tracking on "unlogged index builds"
Fixes the test_gin_redo.py test failure, and probably some others
This commit is contained in:
@@ -16,6 +16,7 @@ def test_gin_redo(neon_simple_env: NeonEnv):
|
||||
secondary = env.endpoints.new_replica_start(origin=primary, endpoint_id="secondary")
|
||||
con = primary.connect()
|
||||
cur = con.cursor()
|
||||
cur.execute("select pg_switch_wal()")
|
||||
cur.execute("create table gin_test_tbl(id integer, i int4[])")
|
||||
cur.execute("create index gin_test_idx on gin_test_tbl using gin (i)")
|
||||
cur.execute("insert into gin_test_tbl select g,array[3, 1, g] from generate_series(1, 10000) g")
|
||||
|
||||
Reference in New Issue
Block a user