Re: [PATCH] Use access() to check file existence inGetNewRelFileNode(). - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Use access() to check file existence inGetNewRelFileNode().
Date
Msg-id ed76ef1e-da06-397b-397b-2e97f4d86346@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] Use access() to check file existence inGetNewRelFileNode().  (Michael Paquier <michael@paquier.xyz>)
Responses Re: [PATCH] Use access() to check file existence inGetNewRelFileNode().  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 18.05.18 16:04, Michael Paquier wrote:
> On Fri, May 18, 2018 at 02:42:08PM +0800, Paul Guo wrote:
>> 2018-05-17 21:18 GMT+08:00 Michael Paquier <michael@paquier.xyz>:
>>> You should also add this patch to the next commit fest, development of
>>> v11 is done and it is a stabilization period now, so no new patches are
>>> merged.  Here is where you can register the patch:
>>> https://commitfest.postgresql.org/18/
>>
>> Submitted.

This patch looks sensible to me.  We also use access() elsewhere in the
backend to test for file existence.

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Make deparsing of column defaults faster
Next
From: Sergei Kornilov
Date:
Subject: Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query