Skip site navigation (1) Skip section navigation (2)

Re: initdb -S and tablespaces

From: Abhijit Menon-Sen <ams(at)2ndQuadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb -S and tablespaces
Date: 2014-11-06 12:26:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
At 2014-10-30 14:30:27 +0530, ams(at)2ndQuadrant(dot)com wrote:
> Here's a proposed patch to initdb to make initdb -S fsync everything
> under pg_tblspc.

Oops, I meant to include the corresponding patch to xlog.c to do the
same at startup. It's based on the initdb patch, but modified to not
use fprintf/exit_nicely and so on. (Note that this was written in a
single chunk to aid backpatching. There's no attempt made to share
code in this set of patches.)

Now attached.

-- Abhijit

Attachment: 0001-If-we-need-to-perform-crash-recovery-fsync-PGDATA-re.patch
Description: text/x-diff (6.2 KB)

In response to


pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2014-11-06 14:00:03
Subject: Re: Repeatable read and serializable transactions see data committed after tx start
Previous:From: Heikki LinnakangasDate: 2014-11-06 12:12:14
Subject: Re: WAL format and API changes (9.5)

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group