Skip site navigation (1) Skip section navigation (2)

Re: Not HOT enough

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Not HOT enough
Date: 2011-11-23 15:35:47
Message-ID: 1322062429-sup-1570@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Robert Haas's message of mié nov 23 12:28:38 -0300 2011:

> Hmm, I'm not seeing any increase in the number of entries in
> pg_shdepend when I create either a temporary or permanent table:
> 
> rhaas=# select sum(1) from pg_shdepend;
>  sum
> -----
>    2
> (1 row)
> 
> rhaas=# create temp table xyz (a int);
> CREATE TABLE
> rhaas=# select sum(1) from pg_shdepend;
>  sum
> -----
>    2
> (1 row)

That's because the owner is "pinned" (i.e. the bootstrap user).  Try
with a different user.  I see new rows with both temp and non-temp
tables.

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-11-23 16:01:18
Subject: Re: Not HOT enough
Previous:From: Robert HaasDate: 2011-11-23 15:28:38
Subject: Re: Not HOT enough

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group