Re: [GENERAL] Checking data checksums...

2016-12-17 Thread Torsten Förtsch
I use this: create extension pageinspect; SELECT count(*) AS pages_read FROM ( SELECT c.oid::regclass::text AS rel, f.fork, ser.i AS blocknr, page_header(get_raw_page(c.oid::regclass::text, f.fork,

Re: [GENERAL] Checking data checksums...

2016-12-17 Thread David Steele
On 12/16/16 5:07 AM, ma...@kset.org wrote: > I enabled data checksums (initdb --data-checksums) on a new instance and > was wandering is there a command in the psql console, or from the linux > console, to force a checksum check on the entire cluster and get error > reports if it finds some corrup

[GENERAL] Checking data checksums...

2016-12-16 Thread marin
Hi, I enabled data checksums (initdb --data-checksums) on a new instance and was wandering is there a command in the psql console, or from the linux console, to force a checksum check on the entire cluster and get error reports if it finds some corrupted pages. Regards, Mladen Marinović --