Re: Latest version of Hot Standby patch - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Latest version of Hot Standby patch
Date
Msg-id 49648FA3.3070506@enterprisedb.com
Whole thread Raw
In response to Re: Latest version of Hot Standby patch  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Latest version of Hot Standby patch  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Latest version of Hot Standby patch  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Latest version of Hot Standby patch  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
There's still something wrong with the way subtransactions are handled. 
I got:

postgres=# SELECT * FROM foo;
ERROR:  could not access status of transaction 118649
DETAIL:  Could not open file "pg_subtrans/0001": No such file or directory.

in the standby after some testing.

I created a lot of subtransactions in the master, each inserting a row 
to table 'foo', and left the transaction open. In another session, I did 
a lot of dummy activity (truncate bar; insert into bar ...) to generate 
WAL, and also checkpoints and pg_xlog_switch() calls. I then restarted 
the standby, and got the above error.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Warning about the 8.4 release
Next
From: Magnus Hagander
Date:
Subject: Re: new libpq SSL connection option