From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce McAlister <bruce(dot)mcalister(at)blueface(dot)ie>, General <pgsql-general(at)postgresql(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: AutoVacuum Behaviour Question |
Date: | 2007-07-17 23:23:16 |
Message-ID: | 200707172323.l6HNNGI29970@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Is this item closed?
---------------------------------------------------------------------------
Alvaro Herrera wrote:
> Tom Lane wrote:
> > Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > > Tom Lane wrote:
> > >> Yeah, we had better investigate some way to clean them up. It was never
> > >> obvious before that it mattered to get rid of orphan temp tables, but I
> > >> guess it does.
> >
> > > Would it be enough to delete the tuple from pg_class?
> >
> > No, you need a full DROP. I don't see that that's harder than removing
> > only the pg_class tuple --- the problem in either case is to be sure
> > it's OK. In particular, how to avoid a race condition against an
> > incoming backend that adopts that BackendId? Worst-case, you could be
> > deleting a temp table he just made.
>
> Oh, I was just thinking in way for Bruce to get out of his current
> situation.
>
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-07-18 01:26:32 | Re: AutoVacuum Behaviour Question |
Previous Message | mljv | 2007-07-17 22:12:58 | Re: createing indexes on large tables and int8 |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2007-07-17 23:48:07 | Re: Restartable signals 'n all that |
Previous Message | Bruce Momjian | 2007-07-17 23:21:47 | Re: SetBufferCommitInfoNeedsSave and race conditions |