Re: [HACKERS] Cutting initdb's runtime (Perl question embedded)

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, John Naylor <jcnaylor(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Andreas Karlsson <andreas(at)proxel(dot)se>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Cutting initdb's runtime (Perl question embedded)
Date: 2018-05-09 15:44:47
Message-ID: CA+TgmoY0AtWhu6MO3qWJrbah1SeLwDqUNixCObkuwRYTi4u_JQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 9, 2018 at 11:39 AM, Alvaro Herrera
<alvherre(at)2ndquadrant(dot)com> wrote:
> In Debian systems, it's a symlink. Apparently in RHEL6 and older it's a
> copy or hardlink, and the file /etc/sysconfig/clock contains a ZONE
> variable that points to the right zone. Maybe if we add enough
> platform-dependent hacks, we would use the slow fallback only for rare
> cases. (Maybe have initdb emit a warning when the fallback is used, so
> that we know what else to look for.)

I just checked a couple of RHEL7 systems and it seems to be a symlink
there. It's also a symlink on my laptop (macOS 10.13.3).

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Arseny Sher 2018-05-09 15:48:37 Re: Indexes on partitioned tables and foreign partitions
Previous Message Alvaro Herrera 2018-05-09 15:39:24 Re: [HACKERS] Cutting initdb's runtime (Perl question embedded)