agora inbox for [email protected]  
help / color / mirror / Atom feed
From: Zdenek Kotala <[email protected]>
To: Robert Haas <[email protected]>
Cc: Jonah H. Harris <[email protected]>
Cc: Decibel! <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: WIP: Page space reservation (pgupgrade)
Date: Mon, 10 Nov 2008 09:21:48 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

Robert Haas napsal(a):

> Let's suppose, for example, that in 8.5 we decide to change some type
> that is presently 16 bits to 32 bits, or 8 bits to 16 bits, etc.  This
> will make some tuples bigger, and potentially much bigger, but since
> it presumably won't be a commonly used data-type, most tuples won't
> change at all.  However, the worst case scenario for how much free
> space you might need to reserve will be very bad, and therefore a
> mechanism that allows reserving a fixed amount of free space per page
> won't be adequate.

The problem with datatypes is different story. It is should be easy to manage
this problem with keeping the old datatype definition for "old" tables and for 
new create new datatype with new OID. You can use ALTER TABLE for converting 
data from old type to the new one.

		Zdenek



view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: WIP: Page space reservation (pgupgrade)
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox