Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines
Дата
Msg-id 247889.1603066736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines  (pinker <pinker@onet.eu>)
Список pgsql-bugs
Oh, here's a simpler reproducer:

create or replace function foo (out schemaname text, out relname text)
returns setof record language sql
as $$
  select nspname, relname from pg_class c join pg_namespace n
  on (n.oid = relnamespace)
  order by 1
$$;

select * from foo();

It doesn't fail without the ORDER BY, suggesting that the problem
is localized in failing to handle the case where a sort key
column needs to be coerced.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines
Следующее
От: pinker
Дата:
Сообщение: Re: Postgres 13 signal 11: Segmentation fault tested on 2 independent machines