Re: drop tablespace failed when location contains .. on win32
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: "wangsh.fnst@fujitsu.com" <wangsh.fnst@fujitsu.com>,
Julien Rouhaud <rjuju123@gmail.com>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
"andrew@dunslane.net" <andrew@dunslane.net>,
"pgsql-hackers@lists.postgresql.org"
<pgsql-hackers@lists.postgresql.org>
Date: 2022-01-31T12:23:03Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > Should we have tests for WIN32 (aka for driver letters and "//")? > This could be split into its own separate test file to limit the > damage with the alternate outputs, and the original complain was from > there. I thought about it and concluded that the value couldn't justify the pain-in-the-neck factor of adding a platform-specific variant result file. skip_drive() is pretty simple and decoupled from what we're trying to test here, plus it hasn't changed in decades and is unlikely to do so in future. regards, tom lane
Commits
-
Simplify coding around path_contains_parent_reference().
- b426bd48ee3f 15.0 landed
-
Make canonicalize_path() more canonical.
- c10f830c511f 15.0 landed