Re: In-place upgrade: catalog side

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: In-place upgrade: catalog side
Date: 2008-12-04 12:31:05
Message-ID: 4937CD89.2080403@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark napsal(a):

> How about adding a special syntax for CREATE TABLE which indicates to include
> a dropped column in that position? Then pg_dump could have a -X option to
> include those columns as placeholders. Something like:
>
> CREATE TABLE foo (
> col1 integer,
> NULL COLUMN,
> col2 integer
> );

You need to know a size of the attribute for fetchattr function.

Zdenke

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavan Deolasee 2008-12-04 12:48:20 Re: snapshot leak and core dump with serializable transactions
Previous Message Simon Riggs 2008-12-04 11:57:45 Re: Sync Rep: First Thoughts on Code