Re: Best way to "add" columns - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Best way to "add" columns
Date
Msg-id 3920068F.2FDF52F2@cupid.suninternet.com
Whole thread Raw
Responses Re: Best way to "add" columns  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Marten Feldtmann wrote:
>
>  The varable lengths columns should be at the end of the row, therefore
>  it does not seem to be good to add an integer column after a varchar
>  column.

1. Is this true? Should variable length column really be at the end
of a row?

2. If so, surly postgres can reorder tham internally so that on disk
they are in the optimal format.
--
Martijn van Oosterhout <kleptog@cupid.suninternet.com>
http://cupid.suninternet.com/~kleptog/

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Dumping and reloading stuff in 6.5.3
Next
From: Tom Lane
Date:
Subject: Re: Dumping and reloading stuff in 6.5.3