pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ken Tanzer <ken.tanzer@gmail.com>
Cc: PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Recommended way to enable data-checksums on Centos 7?
Date: Mon, 25 Feb 2019 13:35:53 -0800
Message-ID: <dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com> (raw)
In-Reply-To: <CAD3a31V+MdXt84FPh-n=DvLGgZFYfdwes1=n29m2g_VPN1v99w@mail.gmail.com>
References: <CAD3a31Uqyu8kaCgGcCKZFdhcd3WuGNhv8bq5gniY3YQ_X3_J=A@mail.gmail.com>
	<eaa07805-60aa-180c-7be6-94f4a0ad933d@aklaver.com>
	<CAD3a31V+MdXt84FPh-n=DvLGgZFYfdwes1=n29m2g_VPN1v99w@mail.gmail.com>

On 2/25/19 11:19 AM, Ken Tanzer wrote:
> 
> 
> On Sun, Feb 24, 2019 at 5:03 PM Adrian Klaver <adrian.klaver@aklaver.com 
> <mailto:adrian.klaver@aklaver.com>> wrote:
> 
>     On 2/24/19 2:39 PM, Ken Tanzer wrote: 
> 
>      > I'm just wondering if there is a more preferred way to do this, 
> 
> Not seeing anything responsive to this question, I'll assume that 
> PGSETUP_INITDB_OPTIONS is the preferred method.

 From looking at the script I would yes.

> 
> 
>     and/or
>      > any particular reason you can't pass options to initdb?  Also,
>     since the
> 
>     You can pass options to initdb:
> 
> Yes.  I guess I shoulda said "cant pass option to initdb via the setup 
> script."

Technically using PGSETUP_INITDB_OPTIONS does pass the initdb options to 
the script:) If I am following correctly, what you want is something 
like the below from pg_ctl, correct?:

https://www.postgresql.org/docs/11/app-pg-ctl.html

pg_ctl init[db] [-D datadir] [-s] [-o initdb-options]

> 
> 
>     It seems you cannot pass them to the script postgresql-11-setup. That
>     would be a question for the packagers:
> 
>     https://yum.postgresql.org/contact.php
> 
> 
>      > checksums are good for data integrity, and can only be done at init
>      > time, I wonder if it's worth adding a note about it to that
>      > documentation page?
>      >
> 
> 
> OK.  Do the yum packagers also maintain the documentation for 
> downloading and installing Postgresql?
> (i.e., https://www.postgresql.org/download/linux/redhat/)  And are you 
> saying this question/topic is inappropriate for this list?

The question is not inappropriate as the above is the community site and 
this is the community list for general questions. It is just that the RH 
family packages are maintained outside of the core source by the folks 
listed at the contacts link. It is they who in the end will or will not 
make any changes. Just a matter of circles within circles in the 
'community'.

> 
> Thanks,
> Ken
> 
> -- 
> AGENCY Software
> A Free Software data system
> By and for non-profits
> /http://agency-software.org//
> /https://demo.agency-software.org/client/
> ken.tanzer@agency-software.org <mailto:ken.tanzer@agency-software.org>
> (253) 245-3801
> 
> Subscribe to the mailing list 
> <mailto:agency-general-request@lists.sourceforge.net?body=subscribe> to
> learn more about AGENCY or
> follow the discussion.


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (6+ messages)  latest in thread

Message-ID: <dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com>
Permalink:  ../dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com/
Also on:    postgresql.org/message-id/dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, ken.tanzer@gmail.com
  Subject: Re: Recommended way to enable data-checksums on Centos 7?
  In-Reply-To: <dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com>
  References: <CAD3a31Uqyu8kaCgGcCKZFdhcd3WuGNhv8bq5gniY3YQ_X3_J=A@mail.gmail.com> <eaa07805-60aa-180c-7be6-94f4a0ad933d@aklaver.com> <CAD3a31V+MdXt84FPh-n=DvLGgZFYfdwes1=n29m2g_VPN1v99w@mail.gmail.com> <dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox