From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: autovacuum: found orphan temp table |
Date: | 2014-07-02 15:18:05 |
Message-ID: | 3525.1404314285@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> While it is obvious what is happening in $SUBJECT as well as reasonably
> obvious why it can happen. What isn't obvious is what to do about it. It
> seems we log in as a super user and drop the temp tables.
You don't need to do anything --- the table will go away the next time
a session makes use of that pg_stat_temp schema.
> However, I would think if we know that it is orphaned that autovacuum
> should just clean those up?
That seems to me to be outside the charter of autovacuum, particularly
since orphan tables might be of interest for forensic reasons.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2014-07-02 15:19:10 | Re: 9.5 CF1 |
Previous Message | Alvaro Herrera | 2014-07-02 15:16:51 | Re: autovacuum: found orphan temp table |