Philip Warner <[EMAIL PROTECTED]> writes:
> FWIW, the patch below causes get_viewdef to produce:
> ERROR: pg_get_viewdef: cache lookup of attribute 1 in relation 19136
> failed for rule v_test
> when a table has been deleted.
Not much of a solution --- or do you propose to go through and hack up
every elog in every routine that could potentially be called during
pg_get_ruledef?
The reason that changing pg_dump is a superior solution for this problem
is that there's only one place to change, not umpteen dozen ...
regards, tom lane
- [HACKERS] pg_dump tries to do too much per query Tom Lane
- Re: [HACKERS] pg_dump tries to do too much per query Philip Warner
- Re: [HACKERS] pg_dump tries to do too much per query Philip Warner
- [HACKERS] Re: pg_dump tries to do too much per query Philip Warner
- Re: [HACKERS] Re: pg_dump tries to do too much p... Tom Lane
- Re: [HACKERS] Re: pg_dump tries to do too mu... Philip Warner
- Re: [HACKERS] Re: pg_dump tries to do too mu... Philip Warner
- Re: [HACKERS] Re: pg_dump tries to do to... Philip Warner
- [HACKERS] Cascade delete views? Philip Warner
- [HACKERS] Re: Cascade delete vi... Tom Lane
- Re: [HACKERS] Re: Cascade d... Stephan Szabo
- Re: [HACKERS] Cascade delete vi... Peter Eisentraut
- Re: [HACKERS] Re: pg_dump tries to ... Tom Lane
- Re: [HACKERS] Re: pg_dump tries... Philip Warner
