Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyOZ9-0000lp-Iv for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 22:17:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gyOWv-0006D3-LQ for pgsql-general@arkaria.postgresql.org; Mon, 25 Feb 2019 22:15:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyOWu-00067C-0F for pgsql-general@lists.postgresql.org; Mon, 25 Feb 2019 22:15:21 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyOWo-0001J6-Sz for pgsql-general@postgresql.org; Mon, 25 Feb 2019 22:15:17 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 59F3723273; Mon, 25 Feb 2019 17:15:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 25 Feb 2019 17:15:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=M vlncd1NR19Nnhq9NQg1OtddxI79itL1QMfvJBYj+e8=; b=OrEkZJPF0RC18GHcZ eVrV8Ox0vq77hxZ9PwOxcARFQN1Ab4d3Ira94csP8zZ4Pq4NYwso26UudREs/jFf +app2dTDvJdVCEbutMxSFRst50sl/0H760/BRipTo92xxX4i3rfFWHwWvh19qFJT WZd3cnFpxXNcQMcHqq3qYEjPBcSTf4ndUy8jc5Q+PMnwL54p6Q1mVyC7XojwhMbF 3kc8cUgIW5WSR5SIWfBh5yx0x5Kul6EBTJxxQUf3TUKrNgXzzDykhJ+Dvk1ev9Qv 7S+0kseytIDG76Y8BDRvboHFuF8DLZ+2caaz/8hXaSyK5isxOsH+/B6Pg9ajnRWC 2cW+w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Mvlncd1NR19Nnhq9NQg1OtddxI79itL1QMfvJBYj+ e8=; b=X/Gaz/zWs090mgX5bb3cC/cB4gr+9KvSFZKLIqU/vlILx0ahBr/u2Uxw3 +CoVg5UQKroRG3ShxdyTZUptPyJhZnAMLgBL7nNdLn3bvPUbI5KExvRd5FOnv3xC tHAKKl/53yFv9lKZgjZyYWkcuIaL3oVoyG3XABw5xaWwYC3m1RkPqyGxx3Tpkj81 aCsE+Bkq3kUGDhgrAN8h2EIhdHyOkCZuVCqPh1LhRZV85C0r1UrC7jL3cY9b1vkj 5il41YEUYiFi+3slR4KOUfQO8l3V9F9YjGw6lzFJ5viIP1zep0QeOGJqkB1TIekv 8bZ/FO2tkIFZke3vMIgj4Hkns229g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrudejgdduiedtucdltddurdegtdelrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhht necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghdprghgvghntgihqdhs ohhfthifrghrvgdrohhrghenucfkphepjeegrdelgedrjeefrddvvddvnecurfgrrhgrmh epmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 62068100E5; Mon, 25 Feb 2019 17:15:12 -0500 (EST) Subject: Re: Recommended way to enable data-checksums on Centos 7? To: Ken Tanzer Cc: PG-General Mailing List References: From: Adrian Klaver Message-ID: Date: Mon, 25 Feb 2019 14:15:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/25/19 2:05 PM, Ken Tanzer wrote: > On Mon, Feb 25, 2019 at 1:35 PM Adrian Klaver > 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="" before running > this command.  See > 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 > (253) 245-3801 > > Subscribe to the mailing list >  to > learn more about AGENCY or > follow the discussion. -- Adrian Klaver adrian.klaver@aklaver.com