Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.

Поиск
Список
Период
Сортировка
От Dmitry Koval
Тема Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.
Дата
Msg-id 4401e209-85ac-40ea-a68c-e69e07c0fc49@postgrespro.ru
обсуждение
Ответ на Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.  ("Matheus Alcantara" <matheusssilv97@gmail.com>)
Ответы Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.
Список pgsql-hackers
Hi Matheus!

 >v3-0001-Preserve-extension-dependencies-on-indexes-during.patch

I looked patch and did not find problems. But there is one point: 
extensions btree_gist, btree_gin, citext are not included by default.
So command

 > ./configure --enable-debug --enable-cassert --prefix `pwd`/install
 > >/dev/null && make -s && make install -s && make check

generates errors like

ERROR:  extension "btree_gist" is not available
ERROR:  extension "btree_gin" is not available
ERROR:  extension "citext" is not available

Might be it would be better to use for tests extensions from the
catalog src/test/modules/test_extensions (see test
src/test/modules/test_extensions/sql/test_extdepend.sql)?

 >extension dependencies on parent partitioned indexes don't seem to
 >prevent DROP EXTENSION, but dependencies on child partition indexes
 >do. ...

I agree, it looks strange ...


With best regards,
Dmitry Koval

Postgres Professional: http://postgrespro.com



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