Re: how do I clear a page, or set an item in a page to - Mailing list pgsql-general

From Tom Lane
Subject Re: how do I clear a page, or set an item in a page to
Date
Msg-id 1317.1111434496@sss.pgh.pa.us
Whole thread Raw
In response to Re: how do I clear a page, or set an item in a page to  (Eric Parusel <lists@globalrelay.net>)
Responses Re: how do I clear a page, or set an item in a page to
List pgsql-general
Eric Parusel <lists@globalrelay.net> writes:
> ok, I can dd, if=/dev/zero of=base/dbnum/tablenum, but how do I figure
> how where and how much to write over?
> Is there an easy to see or calculate offset value for a particular page
> number? (28393)

dd bs=8k seek=28393 count=1

            regards, tom lane

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: how do I clear a page, or set an item in a page to
Next
From: Tom Lane
Date:
Subject: Re: how do I clear a page, or set an item in a page to