Re: Dumping/restoring fails on inherited generated column

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Dumping/restoring fails on inherited generated column
Дата
Msg-id 41888c80-e5bd-f9e5-75dc-fb377113168c@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Dumping/restoring fails on inherited generated column  (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>)
Ответы Re: Dumping/restoring fails on inherited generated column  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I've had another go at this, and I've found a solution that appears to 
address all the issues I'm aware of.  It's all very similar to the 
previously discussed patches.  The main difference is that previous 
patches had attempted to use something like tbinfo->attislocal to 
determine whether a column was inherited, but that's not correct.  This 
patch uses the existing logic in flagInhAttrs() to find whether there is 
a matching parent column with a generation expression.  I've added 
pg_dump test cases here to check the different variations that the code 
addresses.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/

Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Support for NSS as a libpq TLS backend
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Allow matching whole DN from a client certificate