Re: pgstattuple for schemas - Mailing list pgsql-patches

From Tom Lane
Subject Re: pgstattuple for schemas
Date
Msg-id 15583.1053695724@sss.pgh.pa.us
Whole thread Raw
In response to pgstattuple for schemas  (Rod Taylor <rbt@rbt.ca>)
Responses Re: pgstattuple for schemas  (Rod Taylor <rbt@rbt.ca>)
List pgsql-patches
Rod Taylor <rbt@rbt.ca> writes:
> Using a table name requires that the table be in the current search
> path, which for single use might be fine but not for an interface.

Actually, it requires no such thing, because the code is already
schema-aware -- you can do pgstattuple('foo.bar').

> Add a pgstattuplebyid(oid) function.

Perhaps this is worth having, but not for the reason given above.

            regards, tom lane

pgsql-patches by date:

Previous
From: Rod Taylor
Date:
Subject: pgstattuple for schemas
Next
From: Rod Taylor
Date:
Subject: Re: pgstattuple for schemas