Re: pgstattuple for schemas

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: pgstattuple for schemas
Дата
Msg-id 1053695963.279.49.camel@jester
обсуждение исходный текст
Ответ на Re: pgstattuple for schemas  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Fri, 2003-05-23 at 09:15, Tom Lane wrote:
> 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').

heh.. didn't even think of trying that (obviously).

> > Add a pgstattuplebyid(oid) function.
>
> Perhaps this is worth having, but not for the reason given above.

This is a much easier form to deal with in code.  If it can be added for
that reason, it would be appreciated.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgstattuple for schemas
Следующее
От: Fernando Nasser
Дата:
Сообщение: JDBC: Wrong type