RE: drop tablespace failed when location contains .. on win32

From: "wangsh(dot)fnst(at)fujitsu(dot)com" <wangsh(dot)fnst(at)fujitsu(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: drop tablespace failed when location contains .. on win32
Date: 2021-09-09 02:35:52
Message-ID: TY2PR01MB4219D9BBF0FFF4097322C61FF2D59@TY2PR01MB4219.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> -----Original Message-----
> From: Michael Paquier <michael(at)paquier(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2021-09-09 02:58:51 Re: Add jsonlog log_destination for JSON server logs
Previous Message Michael Paquier 2021-09-09 02:19:28 Re: drop tablespace failed when location contains .. on win32