Fix query in new test to check tables are synced
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Oct 2020 12:48:36 +0000 (09:48 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 15 Oct 2020 12:48:36 +0000 (09:48 -0300)
commit7f4708818317f59a0452f549dedf4ce35182c13f
treedf8f4c46f3d5e3e17b04b4fdb5315e7af5cf695f
parent86dba33217bb0b48fcf59da76912c3382b4418cd
Fix query in new test to check tables are synced

Rather than looking for tablesync workers, it is more reliable to see
the sync state of the tables.

Per note from Amit Kapila.
Discussion: https://postgr.es/m/CAA4eK1JSSD7FVwq+_rOme86jUZTQFzjsNU06hQ4-LiRt1xFmSg@mail.gmail.com
src/test/subscription/t/100_bugs.pl