pg_dump dumps event triggers and transforms unconditionally
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pg_dump dumps event triggers and transforms unconditionally |
| Дата | |
| Msg-id | 8795.1452631064@sss.pgh.pa.us обсуждение исходный текст |
| Ответы |
Re: pg_dump dumps event triggers and transforms
unconditionally
|
| Список | pgsql-hackers |
I noticed $subject while trying to fix the extension membership problem
Karsten Hilbert complained of last week. I do not think that if I ask
for a dump of a single table, that should include event triggers.
AFAICT event triggers don't belong to any particular schema, so I'd
propose that they be dumped only when include_everything is true,
which is the usual rule for objects that don't belong to any schema.
Transforms have got the same issue, which means that the dump of a
database containing, eg, hstore_plperl is outright broken: it will
dump both the extension *and* a CREATE TRANSFORM command. Again, they
ought to obey the default rules for schema-less objects, which in
this case is "dump if include_everything and not an extension member".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера