pg_restore man page question

Поиск
Список
Период
Сортировка
От Karsten Hilbert
Тема pg_restore man page question
Дата
Msg-id 20160307171717.GA5209@hermes.hilbert.loc
обсуждение исходный текст
Ответы Re: pg_restore man page question  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: pg_restore man page question  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
The man page of pg_restore says

    --disable-triggers
        This option is relevant only when performing a
        data-only restore. It instructs pg_restore to execute
        commands to temporarily disable triggers on the
        target tables while the data is reloaded. [...]

This hint seems overly narrow: when doing a restore of schema
PLUS data (IOW, not a schema-only restore) it should apply,
too, shouldn't it ?

Otherwise it would suggest that pg_restore does this:

- restore basic table structure
- restore data
- restore constraints and triggers and ...

Karsten
--
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: index problems (again)
Следующее
От: rob stone
Дата:
Сообщение: Re: Inserting JSON via Java PreparedStatment