| От | Tom Lane |
|---|---|
| Тема | Re: Moving a database between servers |
| Дата | |
| Msg-id | 13066.1071153149@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Moving a database between servers ("Michael ." <phifli@yahoo.com>) |
| Ответы |
Re: Moving a database between servers
|
| Список | pgsql-general |
"Michael ." <phifli@yahoo.com> writes:
> [ SQL function that references a TEMP table ]
> How do I get these functions to import correctly if it
> fails due to this "current_transaction" table not
> being found?
I don't think there is any good solution in 7.3, because it will insist
on trying to validate the function body. A hack workaround is to create
the "current_transaction" table (as a plain, not TEMP, table), then
import your dump, then drop the table.
7.4 has a better solution (you can turn off function body checking in
CREATE FUNCTION), and 7.4's pg_dump will use it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера