From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: temp tables should not have pg_shdepend entries |
Date: | 2008-04-08 18:28:18 |
Message-ID: | 20080408182818.GK9062@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > Tom Lane wrote:
> >> I agree with that, but I think your idea of not making the pg_shdepend
> >> entries is a pointless and possibly dangerous micro-optimization.
> >> How much actual speedup would it provide, anyway?
>
> > Speedup? Not sure -- I'm more worried about catalog bloat for people
> > who create lots of temp tables.
>
> They're going to have far more bloat in pg_class, pg_attribute, etc.
But these are not shared catalogs.
> A more useful thing to do to save catalog bloat would be to stop storing
> the 100%-predictable pg_attribute entries for system columns --- that'd
> save six or seven rows per table, not just one.
Agreed.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-04-08 18:32:12 | Re: [PATCHES] libpq type system 0.9a |
Previous Message | Merlin Moncure | 2008-04-08 18:04:32 | Re: [PATCHES] libpq type system 0.9a |