RE: drop tablespace failed when location contains .. on win32 - Mailing list pgsql-hackers

From wangsh.fnst@fujitsu.com
Subject RE: drop tablespace failed when location contains .. on win32
Date
Msg-id OS3PR01MB71599B537F68956616FCC4BAF2A69@OS3PR01MB7159.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: drop tablespace failed when location contains .. on win32  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: drop tablespace failed when location contains .. on win32
List pgsql-hackers
Hi,

> -----Original Message-----
> From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
> Sent: Monday, September 13, 2021 4:36 PM
> To: michael@paquier.xyz

> Mmm. I haven't thought that so seriously, but '/hoge/foo/bar' doesn't
> seem to be an absolute path on Windows since it lacks
> "<dirver-letter>:" or "//hostname" part.  If we're on drive D:,
> "/Program\ Files" doesn't mean "C:\Program\ Files" but "D:\Program\
> Files".

I don't know this.  After some test, I think it's better to consider '/hoge/foo/bar'
as a absolute path.

0001 and 0002 are the are the bugfix patches.
0003 is the test patch what I have tested on Linux and Windows.

Waiting for some comment.
Add to the commitfest: https://commitfest.postgresql.org/35/3331/

Regards,
Shenhao Wang


Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: rand48 replacement
Next
From: Etsuro Fujita
Date:
Subject: Re: BUG #16583: merge join on tables with different DB collation behind postgres_fdw fails