Philip Warner <[EMAIL PROTECTED]> writes: > At 13:27 2/04/01 -0400, Tom Lane wrote: >> Philip: the rule that pg_dump needs to apply w.r.t. defaults for >> inherited fields is that if an inherited field has a default and >> either (a) no parent table supplies a default, or (b) any parent >> table supplies a default different from the child's, then pg_dump >> had better emit the child field explicitly. > What is happening with IS NULL constraints (and type names)? NOT NULL on a child field would only force it to be dumped if none of the parents say NOT NULL. Type name really is not an issue since it will have to be the same in all the tables anyway; I wouldn't bother expending any code there. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
- Re: [HACKERS] Re: Changing the default value of an inheri... Nathan Myers
- Re: [HACKERS] Re: Changing the default value of an i... Tom Lane
- Re: [HACKERS] Re: Changing the default value of ... Peter Eisentraut
- Re: [HACKERS] Re: Changing the default value... Tom Lane
- Re: [HACKERS] Re: Changing the default value... Nathan Myers
- Re: [HACKERS] Re: Changing the default v... Tom Lane
- Re: [HACKERS] Re: Changing the default v... Peter Eisentraut
- Re: [HACKERS] Re: Changing the default v... Tom Lane
- Re: [HACKERS] Re: Changing the default v... Nathan Myers
- Re: [HACKERS] Re: Changing the default v... Philip Warner
- Re: [HACKERS] Re: Changing the default v... Tom Lane
- Re: [HACKERS] Re: Changing the default v... Philip Warner
- Re: [HACKERS] Re: Changing the default v... Tom Lane
- Re: [HACKERS] Re: Changing the default v... Nathan Myers
- Re: [HACKERS] Re: Changing the default v... Tom Lane
- Re: [HACKERS] Re: Changing the default value of ... Nathan Myers
- Re: [HACKERS] Re: Changing the default value of ... Philip Warner
- Re: [HACKERS] Re: Changing the default value... Tom Lane
- Re: [HACKERS] Re: Changing the default v... Philip Warner
- Re: [HACKERS] Re: Changing the default v... Tom Lane