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 14:15:11 -0800
Message-ID: <da02ff07-3eef-b0d5-ba84-57924abebb50@aklaver.com> (raw)
In-Reply-To: <CAD3a31Vu4BnzuRg3iOF282ws0PnoMT=HYq6E7zWtS2rgKssZmg@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>
<dfb96179-a82b-fd66-9a73-c5f4f65d739d@aklaver.com>
<CAD3a31Vu4BnzuRg3iOF282ws0PnoMT=HYq6E7zWtS2rgKssZmg@mail.gmail.com>
On 2/25/19 2:05 PM, Ken Tanzer wrote:
> On Mon, Feb 25, 2019 at 1:35 PM Adrian Klaver <adrian.klaver@aklaver.com
> <mailto:adrian.klaver@aklaver.com>> wrote:
>
> 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]
>
> ...
>
> > > 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?
> > >
> >
>
>
> Something like that "-o" option would be nice. But regardless of the
> solution, and given how simple & streamlined the install path/directions
> are, it seems to me to make sense to have some way of doing this that
> doesn't involve having to read through the setup script. That could be
From looking at the script running:
postgresql-11-setup --help
will get you that information.
> a simpler option, or it could just be a footnote on the install page,
> next to the initdb command, something like:
That would be nice, unfortunately I am not the person to get that done.
Your best bet on this would be to file an issue here:
https://yum.postgresql.org/contact.php
You will need a community account to do this.
>
> Optionally initialize the database and enable automatic start:
> /usr/pgsql-11/bin/postgresql-11-setup initdb (*)
> systemctl enable postgresql-11
> systemctl start postgresql-11
>
> (*) Some options for initializing the database can't be changed later
> (except by wiping out and reinitializing). You can specify options by
> running export PGSETUP_INITDB_OPTIONS="<your options>" before running
> this command. See
> <https://www.postgresql.org/docs/current/app-initdb.html; for options.
> Cheers,
> 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
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: <da02ff07-3eef-b0d5-ba84-57924abebb50@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> <CAD3a31Vu4BnzuRg3iOF282ws0PnoMT=HYq6E7zWtS2rgKssZmg@mail.gmail.com> <da02ff07-3eef-b0d5-ba84-57924abebb50@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