| От | Tom Lane |
|---|---|
| Тема | Re: pg_dump problems in upgrading |
| Дата | |
| Msg-id | 20083.1032636954@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pg_dump problems in upgrading (Oliver Elphick <olly@lfix.co.uk>) |
| Список | pgsql-hackers |
Oliver Elphick <olly@lfix.co.uk> writes:
>>> 3. A view is being created before one of the tables it refers to.
> While I don't think that the oids have wrapped round, the oid of the
> table in question is larger than the oid of the view. It is quite
> likely that the table was dropped and recreated after the view was
> created.
> In fact, the view no longer works:
> ERROR: Relation "sales_forecast" with OID 26246751 no longer exists
> so that must be what happened.
Ah ... so the view was broken already. I'm surprised you didn't get a
failure while attempting to dump the view definition.
The new dependency stuff should help prevent this type of problem in
future ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера