Re: Recommended way to enable data-checksums on Centos 7?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Recommended way to enable data-checksums on Centos 7?
Date: 2019-02-25 21:35:53
Message-ID: dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/25/19 11:19 AM, Ken Tanzer wrote:
>
>
> On Sun, Feb 24, 2019 at 5:03 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)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(dot)tanzer(at)agency-software(dot)org <mailto:ken(dot)tanzer(at)agency-software(dot)org>
> (253) 245-3801
>
> Subscribe to the mailing list
> <mailto:agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe> to
> learn more about AGENCY or
> follow the discussion.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-02-25 21:41:56 Re: update table with suppress_redundant_updates_trigger()
Previous Message Ken Tanzer 2019-02-25 19:19:09 Re: Recommended way to enable data-checksums on Centos 7?