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@fetter.org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter
Remember to vote!