aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-22 14:28:37 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-22 14:33:57 +0300
commit54a16df0100da445be7c79eb81dfb96fd0685e6d (patch)
treee43bb47681ed81e5e722b2cb0dc5801978bc8a7d /src/backend/executor/nodeModifyTable.c
parentcef939c3470006c1195a17c2ca3861360587fe15 (diff)
downloadpostgresql-54a16df0100da445be7c79eb81dfb96fd0685e6d.tar.gz
postgresql-54a16df0100da445be7c79eb81dfb96fd0685e6d.zip
Make the pg_rewind regression tests more robust on slow systems.
There were a couple of hard-coded sleeps in the tests: to wait for standby to catch up with master, and to wait for promotion with "pg_ctl promote" to complete. Instead of a fixed, hard-coded sleep, poll the server with a query once a second. This isn't ideal either, and I wish we had a better solution for real-world applications too, but this should fix the immediate problem. Patch by Michael Paquier, with some editing by me.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions