Re: pg_control is missing a field for LOBLKSIZE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_control is missing a field for LOBLKSIZE
Date: 2014-06-04 15:08:42
Message-ID: 20577.1401894522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> Btw, I had wondered before if we shouldn't also add sizeof(long) to
> pg_control to catch cases where a database is copied between a LLP64
> (64bit windows) and an LP64 (nearly every other 64bit system) system. I
> have my doubts that we're completely clean about the size
> difference. Not to speak of extension datatypes.

I don't believe that this is necessary. It's certainly true that some
in-memory structures will be laid out differently, but not on-disk.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-06-04 15:10:45 Re: Could not open file pg_multixact/offsets/ ERROR on 9.3.4
Previous Message Tom Lane 2014-06-04 15:06:26 Re: Migrating from 9.2.4 to 9.3.0 with XML DOCTYPE