Re: trouble with db-restore - Mailing list pgsql-general

From Tom Lane
Subject Re: trouble with db-restore
Date
Msg-id 1697.979063403@sss.pgh.pa.us
Whole thread Raw
In response to trouble with db-restore  (Heiko Irrgang <irrgang@SC-Networks.de>)
Responses Re: trouble with db-restore  (Heiko Irrgang <irrgang@SC-Networks.de>)
List pgsql-general
Heiko Irrgang <irrgang@SC-Networks.de> writes:
> i simply use pg_dumpall with no params for dumping the
> data, but when i used psql for restoring the data,
> every view was created as a table and was filled up
> with the data which the view had been delivered at
> the time of the backup.

This is extremely surprising; I've never heard of such a report before.

It would seem that pg_dump failed to recognize your views as being
views.  The only theory I can come up with offhand is that you are
using a pg_dump version that is not compatible with the database
server version you are running.  Since you have said nothing about
what version you are using, it's hard to guess more ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: Loading optimization
Next
From: T F
Date:
Subject: Does Postgresql deadlock?