[COMMITTERS] pgsql: Fix dumping of casts and transforms using built-in functions

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема [COMMITTERS] pgsql: Fix dumping of casts and transforms using built-in functions
Дата
Msg-id E1cJlvX-0001rr-NE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix dumping of casts and transforms using built-in functions

In pg_dump.c dumpCast() and dumpTransform(), we would happily ignore the
cast or transform if it happened to use a built-in function because we
weren't including the information about built-in functions when querying
pg_proc from getFuncs().

Modify the query in getFuncs() to also gather information about
functions which are used by user-defined casts and transforms (where
"user-defined" means "has an OID >= FirstNormalObjectId").  This also
adds to the TAP regression tests for 9.6 and master to cover these
types of objects.

Back-patch all the way for casts, back to 9.5 for transforms.

Discussion: https://www.postgresql.org/message-id/flat/20160504183952.GE10850%40tamriel.snowman.net

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1efc5dba05a81bd91a0d3659f4a4ccfb4c36e680

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 30 ++++++++++++++++++++++++------
1 file changed, 24 insertions(+), 6 deletions(-)


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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix base backup rate limiting in presence ofslow i/o
Следующее
От: Stephen Frost
Дата:
Сообщение: [COMMITTERS] pgsql: Improve ALTER TABLE documentation