pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
5+ messages / 1 participants
[nested] [flat]

* pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
@ 2016-08-29 06:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2016-08-29 06:51 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTRECORD record.

Previously pg_xlogdump failed to dump the contents of the WAL file
if the file starts with the continuation WAL record which spans
more than one pages. Since pg_xlogdump assumed that the continuation
record always fits on a page, it could not find the valid WAL record to
start reading from in that case.

This patch changes pg_xlogdump so that it can handle a continuation
WAL record which crosses a page boundary and find the valid record
to start reading from.

Back-patch to 9.3 where pg_xlogdump was introduced.

Author: Pavan Deolasee
Reviewed-By: Michael Paquier and Craig Ringer
Discussion: CABOikdPsPByMiG6J01DKq6om2+BNkxHTPkOyqHM2a4oYwGKsqQ@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bab7823a49bb210b8920ae59e5126d27e4d63833

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 91 +++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
@ 2016-08-29 06:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2016-08-29 06:51 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTRECORD record.

Previously pg_xlogdump failed to dump the contents of the WAL file
if the file starts with the continuation WAL record which spans
more than one pages. Since pg_xlogdump assumed that the continuation
record always fits on a page, it could not find the valid WAL record to
start reading from in that case.

This patch changes pg_xlogdump so that it can handle a continuation
WAL record which crosses a page boundary and find the valid record
to start reading from.

Back-patch to 9.3 where pg_xlogdump was introduced.

Author: Pavan Deolasee
Reviewed-By: Michael Paquier and Craig Ringer
Discussion: CABOikdPsPByMiG6J01DKq6om2+BNkxHTPkOyqHM2a4oYwGKsqQ@mail.gmail.com

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2802b02a540c0f5bc2d11e801dc527d4240ed404

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 91 +++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
@ 2016-08-29 06:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2016-08-29 06:51 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTRECORD record.

Previously pg_xlogdump failed to dump the contents of the WAL file
if the file starts with the continuation WAL record which spans
more than one pages. Since pg_xlogdump assumed that the continuation
record always fits on a page, it could not find the valid WAL record to
start reading from in that case.

This patch changes pg_xlogdump so that it can handle a continuation
WAL record which crosses a page boundary and find the valid record
to start reading from.

Back-patch to 9.3 where pg_xlogdump was introduced.

Author: Pavan Deolasee
Reviewed-By: Michael Paquier and Craig Ringer
Discussion: CABOikdPsPByMiG6J01DKq6om2+BNkxHTPkOyqHM2a4oYwGKsqQ@mail.gmail.com

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7dfb9b4796e05743398fc578ac7b25eab086721a

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 91 +++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
@ 2016-08-29 06:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2016-08-29 06:51 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTRECORD record.

Previously pg_xlogdump failed to dump the contents of the WAL file
if the file starts with the continuation WAL record which spans
more than one pages. Since pg_xlogdump assumed that the continuation
record always fits on a page, it could not find the valid WAL record to
start reading from in that case.

This patch changes pg_xlogdump so that it can handle a continuation
WAL record which crosses a page boundary and find the valid record
to start reading from.

Back-patch to 9.3 where pg_xlogdump was introduced.

Author: Pavan Deolasee
Reviewed-By: Michael Paquier and Craig Ringer
Discussion: CABOikdPsPByMiG6J01DKq6om2+BNkxHTPkOyqHM2a4oYwGKsqQ@mail.gmail.com

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/314a25fb3ae3ae2fc6007fd39ff01da7558565a4

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 91 +++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR
@ 2016-08-29 06:51 Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 5+ messages in thread

From: Fujii Masao @ 2016-08-29 06:51 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTRECORD record.

Previously pg_xlogdump failed to dump the contents of the WAL file
if the file starts with the continuation WAL record which spans
more than one pages. Since pg_xlogdump assumed that the continuation
record always fits on a page, it could not find the valid WAL record to
start reading from in that case.

This patch changes pg_xlogdump so that it can handle a continuation
WAL record which crosses a page boundary and find the valid record
to start reading from.

Back-patch to 9.3 where pg_xlogdump was introduced.

Author: Pavan Deolasee
Reviewed-By: Michael Paquier and Craig Ringer
Discussion: CABOikdPsPByMiG6J01DKq6om2+BNkxHTPkOyqHM2a4oYwGKsqQ@mail.gmail.com

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5833306dd691f3827ad0856246864626ab1deeb8

Modified Files
--------------
src/backend/access/transam/xlogreader.c | 91 +++++++++++++++++++++++----------
1 file changed, 64 insertions(+), 27 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2016-08-29 06:51 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 06:51 pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR Fujii Masao <fujii@postgresql.org>
2016-08-29 06:51 pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR Fujii Masao <fujii@postgresql.org>
2016-08-29 06:51 pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR Fujii Masao <fujii@postgresql.org>
2016-08-29 06:51 pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR Fujii Masao <fujii@postgresql.org>
2016-08-29 06:51 pgsql: Fix pg_xlogdump so that it handles cross-page XLP_FIRST_IS_CONTR Fujii Masao <fujii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox