From: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: warning missing |
Date: | 2004-06-28 11:13:21 |
Message-ID: | cbougi$55c$1@floppy.pyrenet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Gaetano Mendola wrote:
> Tom Lane wrote:
>
>> Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
>>
>>> I think a warning is missing if I create a table without OIDS that
>>> inherits from a table with oids:
>>
>>
>>
>>> don't you think a warning shall to be raised here ?
>>
>>
>>
>> Nope ... this is not different from the behavior for merging duplicate
>> column definitions. You get an OID column if the child table definition
>> *or* any parent table requests OIDs.
>
>
> Mmm, you are not convincing me, don't we break the principle of minor
> surprise?
>
> I mean if you duplicate a column name that column is present on the
> inherited
> table, but if I say: I don't want the column OID and I found it, this then
> surprise me.
Peter, what do you think about it ?
Regards
Gaetano Mendola
From | Date | Subject | |
---|---|---|---|
Next Message | Dennis Bjorklund | 2004-06-28 11:29:06 | Re: lock timeout patch |
Previous Message | Andreas Pflug | 2004-06-28 10:55:55 | serverlog rotation/functions |