Re: System tables screwed up? (WAS requested shared memory size overflows size_t)

From: Craig James <craig_james(at)emolecules(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: System tables screwed up? (WAS requested shared memory size overflows size_t)
Date: 2010-06-24 23:24:44
Message-ID: 4C23E93C.7010504@emolecules.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 6/24/10 4:19 PM, Alvaro Herrera wrote:
> Excerpts from Craig James's message of jue jun 24 19:03:00 -0400 2010:
>
>> select relname, pg_relation_size(relname) from pg_class
>> where pg_get_userbyid(relowner) = 'emol_warehouse_1'
>> and relname not like 'pg_%'
>> order by pg_relation_size(relname) desc;
>> ERROR: relation "rownum_temp" does not exist
>>
>> emol_warehouse_1=> select relname from pg_class where relname = 'rownum_temp';
>> relname
>> ----------------------
>> rownum_temp
>> (1 row)
>
> What's the full row? I'd just add a "WHERE relkind = 'r'" to the above
> query anyway.

Thanks, in fact that works. But my concern is that these are system tables and system functions and yet they seem to be confused. I've used this query dozens of times and never seen this behavior before. It makes me really nervous...

Craig

P.S. Sorry I got the Subject wrong the first time by hitting the REPLY key mindlessly, I've changed it now.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2010-06-24 23:55:01 Re: System tables screwed up? (WAS requested shared memory size overflows size_t)
Previous Message Alvaro Herrera 2010-06-24 23:19:25 Re: requested shared memory size overflows size_t