Re: Hint to set owner for tablespace directory

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Maksim Milyutin <milyutinma(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hint to set owner for tablespace directory
Date: 2018-10-01 12:15:20
Message-ID: e1e255c1-9ff5-79ff-44d5-9709e1ee7b48@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24/09/2018 14:50, Peter Eisentraut wrote:
> On 11/09/2018 17:10, Peter Eisentraut wrote:
>> On 07/09/2018 17:59, Maksim Milyutin wrote:
>>> those directories was that user). The error message "could not set
>>> permissions on directory ..." disoriented that user. The need to change
>>> the owner of those directories came after careful reading of
>>> documentation. I think it would be helpful to show the proposed hint to
>>> more operatively resolve the problem.
>>
>> I think it might be worth clarifying the documentation instead. I'm
>> looking at the CREATE TABLESPACE reference page and it's not super clear
>> on first reading.
>
> How about the attached patch?

I have committed this patch and will close this commitfest item. I
don't think the idea with the hints in the code was going anywhere.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2018-10-01 12:18:01 Re: SSL tests failing with "ee key too small" error on Debian SID
Previous Message Chris Travers 2018-10-01 12:00:30 Re: Proposal for Signal Detection Refactoring