Re: ALTER TABLE OWNER: change indexes - Mailing list pgsql-patches

From Neil Conway
Subject Re: ALTER TABLE OWNER: change indexes
Date
Msg-id 1014588274.7682.89.camel@jiro
Whole thread Raw
In response to Re: ALTER TABLE OWNER: change indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ALTER TABLE OWNER: change indexes
List pgsql-patches
On Sun, 2002-02-24 at 16:35, Tom Lane wrote:
> 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.

Thanks Tom.

> > 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 ...

I've attached a new version of the patch that uses get_rel_name() -- I
also removed get_relation_name() from ruleutils.c and changed that file
to use get_rel_name().

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TABLE OWNER: change indexes
Next
From: Tom Lane
Date:
Subject: Re: ALTER TABLE OWNER: change indexes