Skip site navigation (1) Skip section navigation (2)

Re: ALTER TABLE OWNER: change indexes

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: ALTER TABLE OWNER: change indexes
Date: 2002-02-24 22:04:34
Message-ID: 1014588274.7682.89.camel@jiro (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
On Sun, 2002-02-24 at 16:35, Tom Lane wrote:
> Neil Conway <nconway(at)klamath(dot)dyndns(dot)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().



Neil Conway <neilconway(at)rogers(dot)com>

Attachment: alter_index_owner-2.patch
Description: text/x-patch (4.3 KB)

In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2002-02-24 22:43:07
Subject: Re: ALTER TABLE OWNER: change indexes
Previous:From: Tom LaneDate: 2002-02-24 21:35:49
Subject: Re: ALTER TABLE OWNER: change indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group