Re: Fixing typos in tests of partition_info.sql

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: Fixing typos in tests of partition_info.sql
Дата
Msg-id ecc8977f-3cc4-f522-1886-18d2b6552a1e@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Fixing typos in tests of partition_info.sql  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Fixing typos in tests of partition_info.sql  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2018/12/17 15:52, Michael Paquier wrote:
> On Mon, Dec 17, 2018 at 03:40:28PM +0900, Michael Paquier wrote:
>> I was just going through some of the tests, when I noticed that the
>> tests of partition_info.sql have two typos and that the last set of
>> tests is imprecise about the expected behavior of the functions.
>>
>> Do you think that something like the attached is an improvement?
> 
> Meuh.  Patch forgotten.

Thanks.

--- A table not part of a partition tree works is the only member listed.
+-- A table not part of a partition tree is the only member listed.

How about:

-- Table that is not part of any partition tree is the only member listed

--- Views and materialized viewS cannot be part of a partition tree.
+-- Views and materialized views are not part of a partition tree,
+-- causing the functions to return NULL.

How bouat:

-- Function returns NULL for relation types that cannot be part of a
-- partition tree; for example, views, materialized views, etc.

Thanks,
Amit



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Fixing typos in tests of partition_info.sql
Следующее
От: amul sul
Дата:
Сообщение: Re: ALTER INDEX ... ALTER COLUMN not present in dump