pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gherzig@fmed.uba.ar
Cc: pgsql-sql@postgresql.org
Subject: Re: specifying wal file size
Date: Tue, 01 Apr 2008 00:45:36 -0400
Message-ID: <20357.1207025136@sss.pgh.pa.us> (raw)
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>

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



view thread (2+ messages)

Message-ID: <20357.1207025136@sss.pgh.pa.us>
Permalink:  ../20357.1207025136@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20357.1207025136@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar
  Subject: Re: specifying wal file size
  In-Reply-To: <20357.1207025136@sss.pgh.pa.us>

* 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