Re: Recommended way to enable data-checksums on Centos 7? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Recommended way to enable data-checksums on Centos 7?
Date
Msg-id dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com
Whole thread Raw
In response to Re: Recommended way to enable data-checksums on Centos 7?  (Ken Tanzer <ken.tanzer@gmail.com>)
Responses Re: Recommended way to enable data-checksums on Centos 7?
List pgsql-general
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


pgsql-general by date:

Previous
From: Ken Tanzer
Date:
Subject: Re: Recommended way to enable data-checksums on Centos 7?
Next
From: Adrian Klaver
Date:
Subject: Re: update table with suppress_redundant_updates_trigger()