Re: pg_dump: SQL command failed - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump: SQL command failed
Date
Msg-id 25515.1265986431@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump: SQL command failed  (Oliver Kohll - Mailing Lists <oliver.lists@gtwm.co.uk>)
List pgsql-general
Oliver Kohll - Mailing Lists <oliver.lists@gtwm.co.uk> writes:
> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR:  could not open relation with OID 572838
> pg_dump: The command was: SELECT pg_catalog.pg_get_viewdef('572838'::pg_catalog.oid) AS viewdef

Looks like a race condition ---- somebody dropped a view between the
pg_dump saw it and the time pg_dump tried to grab the view definition.

            regards, tom lane

pgsql-general by date:

Previous
From: "Igor Neyman"
Date:
Subject: Re: help with SQL join
Next
From: Allan Kamau
Date:
Subject: Re: Weeding out unused user created database objects, could I use pg_catalog?