split postmaster's checkDataDir to src/common

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: split postmaster's checkDataDir to src/common
Date: 2013-08-27 21:54:16
Message-ID: 20130827215416.GF4933@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here's a patch to move src/port/pgcheckdir.c to src/common/checkdir.c
and add the shareable part of postmaster's current checkDataDir code
into it, as pg_check_dir_permissions. This is in the spirit of using it
in pgstat to check the directory defined by stats_temp_directory.

(This is basically the same patch I posted earlier, except the file is
now in src/common instead of src/port.)

Barring objections I intend to push this to 9.3 and HEAD shortly.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
check-dir-perms-2.patch text/x-diff 12.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-08-27 21:58:12 Re: PL/pgSQL PERFORM with CTE
Previous Message Greg Smith 2013-08-27 21:37:47 Re: [v9.4] row level security