Removing NONSEG mode

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Removing NONSEG mode
Date: 2008-04-22 11:24:31
Message-ID: 480DCAEF.6040106@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I attach patch which remove nonsegment mode support. It was discussed during
last commit fest. Nonsegment mode is possible uses only on couple of FS (ZFS,
XFS) and it is not safe on any OS because each OS support more filesystems.

I added RELSEG option to the configure script to allow easily compile with
different segment size (on most filesystem 1T is safe value). As a bonus I added
also BLCKSZ to configure script. It is not important for this patch but it could
be useful e.g. for buildfarm testing with different BLCKSZ.

Patch requires to run autoconf and autoheader.

Zdenek

PS: --with-segsize=1/1024 allows set segsize to 1MB - good for testing

Attachment Content-Type Size
seg.patch text/x-patch 13.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Albe Laurenz 2008-04-22 11:55:41 Re: Improve shutdown during online backup, take 3
Previous Message Simon Riggs 2008-04-22 01:18:09 Re: Improve shutdown during online backup, take 2