check_sequence - Split big UNION of sequence selects into chunks to avoid overrunning system argument size run_command - If we have specified a "target" database, skip all others in global targetdb list
Change the way tables are quoted in replicate_row to allow for tables with schema name.
action=sequence used to open a new session for every sequence checked, which could be very slow. Fix by creating a single SQL statement using UNION ALL to query all sequences at once.
…is more often than not a complex structure.
…has never been there before.
Previously it used the psql version which might differ when multiple versions are installed locally, or when querying remote servers. The hot_standby_delay check is also affected, but more involved to fix, so leave that for later. Adrian Vondendriesch
…rather than just the failing line, to better aid in debugging as recently seen on the list.
…tom socket dir)
there is more than one node in replication; we want to report on the most lagged server.