Re: BUG #16137: pg_upgrade fails with an index over nesting function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16137: pg_upgrade fails with an index over nesting function
Дата
Msg-id 10565.1574723905@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16137: pg_upgrade fails with an index over nesting function  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> CREATE TABLE test(i INT PRIMARY KEY);
> CREATE FUNCTION func2(i INT) RETURNS INT IMMUTABLE LANGUAGE SQL
>     AS 'SELECT $1';
> CREATE FUNCTION func1(c INT) RETURNS INT IMMUTABLE LANGUAGE SQL
>     AS 'SELECT func2($1)';

This function is unreliable for lack of schema qualification.

I tend to agree that it'd be nice if pg_upgrade wouldn't be
so picky about that, but we haven't really found a way that
doesn't create security issues (cf CVE-2018-1058).

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: LDAPS trusted ca support
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Failed assertion clauses != NIL