From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: default values for views |
Date: | 2002-04-24 02:40:50 |
Message-ID: | 200204240240.g3O2eoJ24076@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
Neil Conway wrote:
> The attached patch allows views to have default values. You can't
> specify a default value within a CREATE VIEW statement, it must be
> done using ALTER TABLE ... ALTER COLUMN ... SET DEFAULT after the
> view has already been created. Most of the hard work was done by
> Tom Lane, I just patched pg_dump and updated the documentation.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway(at)rogers(dot)com>
> PGP Key ID: DB3C29FC
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-04-24 02:42:46 | Re: default values for views |
Previous Message | Bruce Momjian | 2002-04-24 02:38:17 | Re: Doc fix for INSERT ... (DEFAULT, ...) |