Warning when selecting column from pg_stat_user_tables. - Mailing list pgsql-general

From Chris Barnes
Subject Warning when selecting column from pg_stat_user_tables.
Date
Msg-id BLU149-W45E5B56FD37AA3C1BB6B68D4500@phx.gbl
Whole thread Raw
Responses Re: Warning when selecting column from pg_stat_user_tables.  (Richard Huxton <dev@archonet.com>)
Re: Warning when selecting column from pg_stat_user_tables.  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-general
 
I have this error when selecting from the pg_stat_user_tables. I restarted postgres and the error went away.
 
Has anyone else seen this error?
 
Chris Barnes
 
[postgres@preventdb02 londiste]$ cat /data/pgsql/data/pg_log/postgresql-Tue.log
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
ERROR:  missing FROM-clause entry for table "schemaname" at character 8
STATEMENT:  select schemaname.relname from pg_stat_user_tables where relname like 't0050%';
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
WARNING:  pgstat wait timeout
FATAL:  no pg_hba.conf entry for host "[local]", user "sudo", database "pgdb001", SSL off
LOG:  received fast shutdown request
LOG:  aborting any active transactions
FATAL:  terminating connection due to administrator command
LOG:  shutting down
LOG:  database system is shut down
LOG:  database system was shut down at 2010-02-09 08:46:26 EST
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections

 
 
pgdb001=# select * from pg_stat_user_tables where relname like 't0050%';
WARNING:  pgstat wait timeout
 relid | schemaname |     relname     | seq_scan | seq_tup_read | idx_scan | idx_tup_fetch | n_tup_ins | n_tup_upd | n_tup_del | n_tup_hot_upd | n_live_tup | n_dead_t
up | last_vacuum | last_autovacuum | last_analyze | last_autoanalyze
-------+------------+-----------------+----------+--------------+----------+---------------+-----------+-----------+-----------+---------------+------------+---------
---+-------------+-----------------+--------------+------------------
 16516 | dbprc001   | t0050instrument |        0 |            0 |        0 |             0 |         0 |         0 |         0 |             0 |          0 |        
 0 |             |                 |              |
(1 row)


[postgres@preventdb02 londiste]$ psql
psql (8.4.2)
Type "help" for help.
postgres=# \q



All your Hotmail contacts on your phone. Try it now.

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: vacuumdb ERROR: out of memory
Next
From: Vincenzo Romano
Date:
Subject: Re: string reverse fucntion?