Thread: Re: Re: pg_dumpall failed

Re: Re: pg_dumpall failed

From
Stephan Szabo
Date:
Oops, of course, the row in pg_class isn't there so
the pg_rules view won't show it.

Okay, try
select * from pg_rewrite where ev_class=23945;


On Thu, 30 Aug 2001, Oleg Lebedev wrote:

> select * from pg_rules
> returned NO tuples.
> What should I do next?
> thanks,
>
> Oleg
>
> Stephan Szabo wrote:
>
> > On Thu, 30 Aug 2001, Oleg Lebedev wrote:
> >
> > > I can't find any reference to this table in my current database.
> > > What's the best way to find this out?
> > > thank you,
> >
> > Try a
> >  select * from pg_rules;
> >
> > And see if any of the rule definitions mention the table.
>



Re: Re: pg_dumpall failed

From
Oleg Lebedev
Date:
I tried
select * from pg_rewrite where ev_class=23945;
No tuples were returned.
What should I do next?
thanks,

Oleg

Stephan Szabo wrote:

> Oops, of course, the row in pg_class isn't there so
> the pg_rules view won't show it.
>
> Okay, try
> select * from pg_rewrite where ev_class=23945;
>
> On Thu, 30 Aug 2001, Oleg Lebedev wrote:
>
> > select * from pg_rules
> > returned NO tuples.
> > What should I do next?
> > thanks,
> >
> > Oleg
> >
> > Stephan Szabo wrote:
> >
> > > On Thu, 30 Aug 2001, Oleg Lebedev wrote:
> > >
> > > > I can't find any reference to this table in my current database.
> > > > What's the best way to find this out?
> > > > thank you,
> > >
> > > Try a
> > >  select * from pg_rules;
> > >
> > > And see if any of the rule definitions mention the table.
> >
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl


Re: Re: pg_dumpall failed

From
Oleg Lebedev
Date:
Thanks a lot Stephan,
dropping the right rule solved the problem.
Oleg

Oleg Lebedev wrote:

> I tried
> select * from pg_rewrite where ev_class=23945;
> No tuples were returned.
> What should I do next?
> thanks,
>
> Oleg
>
> Stephan Szabo wrote:
>
> > Oops, of course, the row in pg_class isn't there so
> > the pg_rules view won't show it.
> >
> > Okay, try
> > select * from pg_rewrite where ev_class=23945;
> >
> > On Thu, 30 Aug 2001, Oleg Lebedev wrote:
> >
> > > select * from pg_rules
> > > returned NO tuples.
> > > What should I do next?
> > > thanks,
> > >
> > > Oleg
> > >
> > > Stephan Szabo wrote:
> > >
> > > > On Thu, 30 Aug 2001, Oleg Lebedev wrote:
> > > >
> > > > > I can't find any reference to this table in my current database.
> > > > > What's the best way to find this out?
> > > > > thank you,
> > > >
> > > > Try a
> > > >  select * from pg_rules;
> > > >
> > > > And see if any of the rule definitions mention the table.
> > >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://www.postgresql.org/search.mpl
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster