Re: ALTER TABLE OWNER: change indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER TABLE OWNER: change indexes
Дата
Msg-id 12349.1014586549@sss.pgh.pa.us
обсуждение
Ответ на ALTER TABLE OWNER: change indexes  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: ALTER TABLE OWNER: change indexes
Список pgsql-patches
Neil Conway <nconway@klamath.dyndns.org> writes:
> Also, I needed some utility code to find the name of a relation, given
> its OID.

get_rel_name in utils/cache/lsyscache.c.

> I find a suitable utility function in
> src/backend/utils/adt/ruleutils.c -- however, it's a static function.

Oh?  Looks like someone forgot about lsyscache ...

In general, lsyscache is the place for quick and dirty little catalog
access functions like this.

            regards, tom lane

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