Re: import/export or moving data between databases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: import/export or moving data between databases
Дата
Msg-id 19646.1095612325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на import/export or moving data between databases  ("Iavor Raytchev" <pobox@verysmall.org>)
Ответы Re: import/export or moving data between databases  ("Iavor Raytchev" <pobox@verysmall.org>)
Список pgsql-general
"Iavor Raytchev" <pobox@verysmall.org> writes:
> The problem we face is -

>     When we start to import - the triggers are executed - which must not happen. We found a way to turn the triggers
offfor the time of import and then turn them on after the import. However we can turn the triggers off only per table -
sowe need the list of tables, but we have not found a reliable way to get it. We can get them from the pg_ system
tables- but this means if there is a change in them in next version - we need to change our software, which is not very
desirable.

It sounds to me like you have reinvented pg_dump ... and not done it
very well.  Why don't you just use pg_dump?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem in converting int to timestamp value - why?
Следующее
От: "Iavor Raytchev"
Дата:
Сообщение: Re: import/export or moving data between databases