On Thu, Apr 25, 2024 at 6:44 PM Thom Brown <t...@linux.com> wrote: > I would like to query the following: > > --tablespace-mapping=olddir=newdir > > Relocates the tablespace in directory olddir to newdir during the backup. > olddir is the absolute path of the tablespace as it exists in the first > backup specified on the command line, and newdir is the absolute path to use > for the tablespace in the reconstructed backup. > > The first backup specified on the command line will be the regular, full, > non-incremental backup. But if a tablespace was introduced subsequently, it > would only appear in an incremental backup. Wouldn't this then mean that a > mapping would need to be provided based on the path to the tablespace of that > incremental backup's copy?
Yes. Tomas Vondra found the same issue, which I have fixed in 1713e3d6cd393fcc1d4873e75c7fa1f6c7023d75. -- Robert Haas EDB: http://www.enterprisedb.com