Re: clarify equalTupleDescs()

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: clarify equalTupleDescs()
Дата
Msg-id e28182e8-07e6-4ed7-9123-970b894abfa9@enterprisedb.com
обсуждение исходный текст
Ответ на Re: clarify equalTupleDescs()  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: clarify equalTupleDescs()  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Hi,

I looked at this patch today. I went through all the calls switched to
equalRowTypes, and AFAIK all of them are correct - all the places
switched to equalRowTypes() only need the weaker checks.

There's only two places still calling equalTupleDescs() - relcache
certainly needs that, and so does the assert in execReplication().


As for attndims, I agree equalRowTypes() should not check that. We're
not really checking that anywhere, it'd be quite weird to start with it
here. Especially if the plan is to remove it entirely.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Reports on obsolete Postgres versions
Следующее
От: Jeremy Schneider
Дата:
Сообщение: Re: Reports on obsolete Postgres versions