On Fri, Mar 17, 2017 at 6:11 PM, Peter Eisentraut <peter.eisentr...@2ndquadrant.com> wrote: > On 3/17/17 16:56, Tom Lane wrote: >> Tools could get the segment size out of >> XLogLongPageHeaderData.xlp_seg_size in the first page of the segment. > > OK, then pg_standby would have to wait until the file is at least > XLOG_BLCKSZ, then look inside and get the expected final size. A bit > more complicated than now, but seems doable.
Yeah, that doesn't sound too bad. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers