Re: BUG #15590: crosstab_hash unable to work with modified types (CreateTupleDescCopy returning dropped attributes?)

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: BUG #15590: crosstab_hash unable to work with modified types (CreateTupleDescCopy returning dropped attributes?)
Дата
Msg-id 87fttznn86.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на BUG #15590: crosstab_hash unable to work with modified types(CreateTupleDescCopy returning dropped attributes?)  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
>>>>> "PG" == PG Bug reporting form <noreply@postgresql.org> writes:

 PG> Encapsulating crosstab_hash in a function (to define its return
 PG> type) does not work when the (user-defined) return type owns
 PG> 'dropped' attributes.

Yeah. The code to generate tuples doesn't make any attempt to handle
dropped columns in the result. This is nothing to do with
CreateTupleDescCopy.

I guess this has always been broken; there's no evidence that the code
ever made any attempt to handle it. I'll see about fixing it.

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15591: pg_receivewal does not honor replication slots
Следующее
От: Andres Freund
Дата:
Сообщение: Re: BUG #15591: pg_receivewal does not honor replication slots