Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
От:
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Дата:
> > I did not mean visible, I meant useable, like in > > create function xx(any) returns text ...; > > If that is possible, what is the difference to opaque ? > > "any" will have the same behavior that "opaque" used to have, yes. Ok, now I vote, that you don't implement "any" and use "opaque". I don't think we want two types that do the same thing. Is it that you like the name "any" more than "opaque" ? I am confused. Andreas
Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Zeugswetter Andreas SB SD" writes: > Ok, now I vote, that you don't implement "any" and use "opaque". > I don't think we want two types that do the same thing. > Is it that you like the name "any" more than "opaque" ? No, it's that I want to deprecate "opaque" so that we can catch old uses that should not be there anymore. If you look at your code and you decide that "any" is the correct semantics, then fine: change "opaque" to "any" and the warnings will go away. But relatively few existing uses of "opaque" really mean "any", and I don't want the people who are using "opaque" to mean "cstring", "trigger", etc to keep using "opaque" for those other purposes. The idea here is to force a security review. regards, tom lane