pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix pg_rewind to handle relation data files in tablespaces prope
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix pg_rewind to handle relation data files in tablespaces prope
@ 2018-03-05 17:12  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2018-03-05 17:12 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_rewind to handle relation data files in tablespaces properly.

pg_rewind checks whether each file is a relation data file, from its path.
Previously this check logic had the bug which made pg_rewind fail to
recognize any relation data files in tablespaces. Which also caused
an assertion failure in pg_rewind.

Back-patch to 9.5 where pg_rewind was added.

Author: Takayuki Tsunakawa
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f3e2340cd1b67e91cefdf45e4c915297d1034e2

Modified Files
--------------
src/bin/pg_rewind/filemap.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)



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

* pgsql: Fix pg_rewind to handle relation data files in tablespaces prope
@ 2018-03-05 17:12  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2018-03-05 17:12 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_rewind to handle relation data files in tablespaces properly.

pg_rewind checks whether each file is a relation data file, from its path.
Previously this check logic had the bug which made pg_rewind fail to
recognize any relation data files in tablespaces. Which also caused
an assertion failure in pg_rewind.

Back-patch to 9.5 where pg_rewind was added.

Author: Takayuki Tsunakawa
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bca696ab0bff306a01870306c0dfc9971b079c4e

Modified Files
--------------
src/bin/pg_rewind/filemap.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)



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

* pgsql: Fix pg_rewind to handle relation data files in tablespaces prope
@ 2018-03-05 17:13  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2018-03-05 17:13 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_rewind to handle relation data files in tablespaces properly.

pg_rewind checks whether each file is a relation data file, from its path.
Previously this check logic had the bug which made pg_rewind fail to
recognize any relation data files in tablespaces. Which also caused
an assertion failure in pg_rewind.

Back-patch to 9.5 where pg_rewind was added.

Author: Takayuki Tsunakawa
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7aba4f23f5b7717f70f6ea0cb4361c481bb4863b

Modified Files
--------------
src/bin/pg_rewind/filemap.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)



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

* pgsql: Fix pg_rewind to handle relation data files in tablespaces prope
@ 2018-03-05 17:13  Fujii Masao <fujii@postgresql.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Fujii Masao @ 2018-03-05 17:13 UTC (permalink / raw)
  To: pgsql-committers

Fix pg_rewind to handle relation data files in tablespaces properly.

pg_rewind checks whether each file is a relation data file, from its path.
Previously this check logic had the bug which made pg_rewind fail to
recognize any relation data files in tablespaces. Which also caused
an assertion failure in pg_rewind.

Back-patch to 9.5 where pg_rewind was added.

Author: Takayuki Tsunakawa
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/0A3221C70F24FB45833433255569204D1F8D6C7A@G01JPEXMBYT05

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/cb5c141edac595b74ab611e86f7b1cc2be12c15e

Modified Files
--------------
src/bin/pg_rewind/filemap.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)



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


end of thread, other threads:[~2018-03-05 17:13 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-05 17:12 pgsql: Fix pg_rewind to handle relation data files in tablespaces prope Fujii Masao <fujii@postgresql.org>
2018-03-05 17:12 pgsql: Fix pg_rewind to handle relation data files in tablespaces prope Fujii Masao <fujii@postgresql.org>
2018-03-05 17:13 pgsql: Fix pg_rewind to handle relation data files in tablespaces prope Fujii Masao <fujii@postgresql.org>
2018-03-05 17:13 pgsql: Fix pg_rewind to handle relation data files in tablespaces prope 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