From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | "Jim C(dot) Nasby" <jim(at)nasby(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jaime Casanova <systemguards(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: updatable views and default values |
Date: | 2006-09-05 21:41:23 |
Message-ID: | 20060905214123.GK13254@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Sep 02, 2006 at 06:22:49PM -0500, Jim C. Nasby wrote:
> On Thu, Aug 31, 2006 at 06:29:50PM -0400, Tom Lane wrote:
> > For backwards compatibility we should probably say that this
> > automatic lifting of base-table defaults happens only if the
> > INSERT rule is implicitly generated ... if you write a manual
> > INSERT rule you need manual defaults too. Or should "propagate
> > default values" become an explicit attribute of ON INSERT rules?
>
> ISTM that least surprise dictates that inserting into a view uses
> the base table default unless you specifically override them.
+1 :)
Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter
Remember to vote!
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-09-05 21:42:53 | Re: Open items for 8.2 |
Previous Message | Joshua D. Drake | 2006-09-05 21:39:31 | Re: Win32 hard crash problem |