Re: [PATCH] Use access() to check file existence in GetNewRelFileNode().

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Paul Guo <paulguo(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Use access() to check file existence in GetNewRelFileNode().
Date: 2018-07-06 20:52:14
Message-ID: ed76ef1e-da06-397b-397b-2e97f4d86346@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)paquier(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2018-07-06 20:56:22 Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Previous Message Peter Eisentraut 2018-07-06 20:47:15 Re: Make deparsing of column defaults faster