Re: [PATCH] Transaction traceability - txid_status(bigint)
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Petr Jelinek <petr@2ndquadrant.com>, Simon Riggs <simon@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>, Jim Nasby <Jim.Nasby@bluetreble.com>, Álvaro Herrera <alvaro.herrera@2ndquadrant.com>
Date: 2017-03-25T04:12:48Z
Lists: pgsql-hackers
> I'm wondering if this is a perl version/platform issue around > > $tx->pump until $stdout =~ /[[:digit:]]+[\r\n]$/; > > where we're not recognising the required output from psql when we get it. > > What's in src/test/recovery/tmp_check/log/regress_log_011* ? > > I couldn't use PostgresNode::psql or PostgresNode::safe_psql here > because the session must stay open. The problem was that psql needs to be called with -X. Fix committed. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Add a txid_status function.
- 857ee8e391ff 10.0 landed
-
Track the oldest XID that can be safely looked up in CLOG.
- ea42cc18c353 10.0 landed