pgsql: Fix tablespace path TAP test of pg_verify_checksums for msys

2018-11-30 Thread Michael Paquier
Fix tablespace path TAP test of pg_verify_checksums for msys TAP tests on msys need to run with the DTK perl, which understands msys virtualized paths. Postgres, however, does not understand such paths, so before a path can be used safely with CREATE TABLESPACE, it needs to be translated into a p

pgsql: Silence compiler warning

2018-11-30 Thread Alvaro Herrera
Silence compiler warning My original coding was questionable anyway. Reported-by: Sergei Kornilov Discussion: https://postgr.es/m/9645101543575...@myt6-27270b78ac4f.qloud-c.yandex.net Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9dc122585551516309c9362e673effdb