Re: WAL format - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: WAL format
Date
Msg-id 20091207202807.GL3552@alvh.no-ip.org
Whole thread Raw
In response to WAL format  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: WAL format  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Heikki Linnakangas wrote:

> - at the end of WAL segment, when there's not enough space to write the
> next WAL record, always write an XLOG SWITCH record to fill the rest of
> the segment.

What happens if a record is larger than a WAL segment?  For example,
what if I insert a 16 MB+ datum into a varlena field?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: WAL format
Next
From: Tom Lane
Date:
Subject: Re: WAL format