Re: Column Statistics - How to dertermine for whole database - Mailing list pgsql-general

From Ow Mun Heng
Subject Re: Column Statistics - How to dertermine for whole database
Date
Msg-id 1205379924.20864.22.camel@neuromancer.home.net
Whole thread Raw
In response to Re: Column Statistics - How to dertermine for whole database  ("Adam Rich" <adam.r@sbcglobal.net>)
Responses Re: Column Statistics - How to dertermine for whole database  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
On Wed, 2008-03-12 at 21:33 -0500, Adam Rich wrote:
> select c.relname, a.attname, attstattarget
> from pg_catalog.pg_attribute a, pg_catalog.pg_class c,
> pg_catalog.pg_namespace n
> where a.attrelid = c.oid and c.relnamespace=n.oid
> and n.nspname = 'public' and a.attnum > 0

Funny, that does not work.

note : I did change the nspace value to reflect the DB I'm
using/querying

I've even changed the stat level to 200 (default is 100 or -1)


pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: postgre vs MySQL
Next
From: paul rivers
Date:
Subject: Re: postgre vs MySQL