Обсуждение: Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in

Поиск
Список
Период
Сортировка

Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in

От
"Zeugswetter Andreas SB SD"
Дата:
> >> For that you would have to use "any", at the moment.  This would give
> >> you the same amount of type safety you have with "opaque",
> ie, none.
>
> > I would have to use some pg_proc magic to make "any" appear there,
> > since the plan was to not make it visible at the sql level, no ?
>
> Huh?  It'll be perfectly visible.

I did not mean visible, I meant useable, like increate function xx(any) returns text ...;

If that is possible, what is the difference to opaque ?

Andreas


Re: @(#) Mordred Labs advisory 0x0001: Buffer overflow in

От
Tom Lane
Дата:
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> 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.
        regards, tom lane