On Wed, Jan 25, 2006 at 11:42:04AM +0100, H.J. Sanders wrote: > When I do this I get the message > > relation pgstattuple does not exist. pgstattuple is a function, not a relation, so I suspect the query isn't referring to it correctly. What's the exact query you ran? It should look like this: SELECT * FROM pgstattuple('tablename'); Did you install the contrib/pgstattuple module? -- Michael Fuhr