| From: | Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE> |
|---|---|
| To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
| Cc: | PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org> |
| Subject: | Happy column adding (was RE: [HACKERS] Happy column dropping) |
| Date: | 2000-01-25 10:55:23 |
| Message-ID: | Pine.GSO.4.02A.10001251152160.11899-100000@Val.DoCS.UU.SE |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, 25 Jan 2000, Hiroshi Inoue wrote:
> Even default is not allowed in ADD COLUMN now.
> There may be other reasons why they aren't allowed.
It's not a matter of *allowed*, it's a parsing deficiency. The fact that
there was a default declared gets silently ignored. If y'all allow ;) I
would like to fix that (have already started a bit) by perusing the code
in parse_func.c:transformCreateStmt and do the same for the alter table
add column part. Maybe and add/drop constraint will come out in the end as
well.
--
Peter Eisentraut Sernanders vaeg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2000-01-25 10:59:04 | Re: [SQL] DISTINCT ON: speak now or forever hold your peace |
| Previous Message | Peter Eisentraut | 2000-01-25 10:41:55 | Re: [HACKERS] Happy column dropping |