Re: WAL format

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL format
Date: 2009-12-07 20:28:08
Message-ID: 20091207202807.GL3552@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

  • WAL format at 2009-12-07 19:28:38 from Heikki Linnakangas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-12-07 20:28:29 Re: WAL format
Previous Message Kevin Grittner 2009-12-07 20:22:36 Re: WAL format