| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| Cc: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: ALTER TABLE TODO items |
| Date: | 2004-05-05 17:59:04 |
| Message-ID: | 8274.1083779944@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Wow, you can reference different column as part of the alter column.
Yeah, the USING is actually any arbitrary expression over the old table
row. (Getting that to work was a tad tricky...) So you can view this
as a full-table UPDATE operation that folds in possible column type changes.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2004-05-05 19:45:39 | Re: ALTER TABLE TODO items |
| Previous Message | Bruce Momjian | 2004-05-05 17:51:23 | Re: ALTER TABLE TODO items |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manfred Koizar | 2004-05-05 18:02:55 | Re: Multiple Xids in PGPROC? |
| Previous Message | Bruce Momjian | 2004-05-05 17:51:23 | Re: ALTER TABLE TODO items |