Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 5F92C2E005C for ; Tue, 1 Apr 2008 01:45:43 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 31005-06 for ; Tue, 1 Apr 2008 01:45:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by developer.postgresql.org (Postfix) with ESMTP id CE3252E0055 for ; Tue, 1 Apr 2008 01:45:39 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m314jab9020358; Tue, 1 Apr 2008 00:45:36 -0400 (EDT) To: gherzig@fmed.uba.ar cc: pgsql-sql@postgresql.org Subject: Re: specifying wal file size In-reply-to: <17244.190.55.98.232.1207006892.squirrel@www.webmail.fmed.uba.ar> References: <17244.190.55.98.232.1207006892.squirrel@www.webmail.fmed.uba.ar> Comments: In-reply-to gherzig@fmed.uba.ar message dated "Mon, 31 Mar 2008 20:41:32 -0300" Date: Tue, 01 Apr 2008 00:45:36 -0400 Message-ID: <20357.1207025136@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/1 X-Sequence-Number: 30540 gherzig@fmed.uba.ar writes: > Hi dudes. Im trying to find out how to deal with this. I just receive a > 1.2 MB wal file (may some 'windows home version' do that?), and obviosly, > when i try to recovery from there, get the 'incorrect file size' error. > Acording to the docs, wal file size can be changed at compile time. Not so > bad, i can do that. But where is that code? > BTW: 1163398 bytes seems like a wrong size for any wal file, isnt? WAL files must certainly be a power of 2 in size. I think you're looking at a file-transfer error, or else the file got corrupted on the source system. I rather doubt that your source knows how to change the intended file size from 16MB anyway ;-) regards, tom lane