| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: DROP TYPE/DROP DOMAIN |
| Date: | 2003-08-04 15:21:51 |
| Message-ID: | 200308041521.h74FLpS05529@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Tom Lane writes:
> >> No, a view is not a table. Try putting an index or trigger on it.
>
> > According to that logic, a domain is not a type. Try putting a check
> > constraint on it.
>
> But that's an additional feature, not a missing feature.
And added in 7.4:
Add DOMAIN CHECK constraints (Rod)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-08-04 15:35:34 | Re: "truncate all"? |
| Previous Message | Teodor Sigaev | 2003-08-04 14:57:28 | Re: contrib compilation probs |