"ADD" notice in CREATE/ALTER TABLE

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: "ADD" notice in CREATE/ALTER TABLE
Date: 2001-11-04 05:40:00
Message-ID: 200111040540.fA45e0R11365@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher wanted "ADD" used in:

ALTER TABLE / ADD PRIMARY-UNIQUE
^^^

but not in:

CREATE TABLE / PRIMARY-UNIQUE

The problem is that the same analyze.c function is used for both cases.
I have added code to conditionally use "ADD" only in fhe first case.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2001-11-04 07:00:46 Re: "ADD" notice in CREATE/ALTER TABLE
Previous Message Justin Clift 2001-11-04 04:49:01 Re: Beta going well