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 TY2PR01MB4219D9BBF0FFF4097322C61FF2D59@TY2PR01MB4219.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: drop tablespace failed when location contains .. on win32  (Michael Paquier <michael@paquier.xyz>)
Responses Re: drop tablespace failed when location contains .. on win32
List pgsql-hackers
Hi,

> -----Original Message-----
> From: Michael Paquier <michael@paquier.xyz>
>
> On Wed, Sep 08, 2021 at 08:54:25AM -0400, Andrew Dunstan wrote:
> > That seems like a bug. It's not very canonical :-)
>
> Yes, better to fix that.  I fear that more places are impacted than
> just the tablespace code paths.
> --
> Michael

Do you mean changing the action of canonicalize_path(), like remove all the (..) ?

I'm willing to fix this problem.

Regards
Shenhao Wang



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: drop tablespace failed when location contains .. on win32
Next
From: Greg Stark
Date:
Subject: Re: Add jsonlog log_destination for JSON server logs