Re: Hint to set owner for tablespace directory - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Hint to set owner for tablespace directory
Date
Msg-id 542444d9-d768-aa10-07c1-83abd896e86f@2ndquadrant.com
Whole thread Raw
In response to Re: Hint to set owner for tablespace directory  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Hint to set owner for tablespace directory  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
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?

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

Attachment

pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Segfault when creating partition with a primary key and sql_droptrigger exists
Next
From: Peter Eisentraut
Date:
Subject: Re: Make deparsing of column defaults faster