Thread: Change Catalog

Change Catalog

From
black light
Date:
Hi,<br />I can access to system catalog using syscache functions. How can i change the values of cache (e.g. change an
attributein pg_authid)? Are syscache functions readonly?<br /><br />Thanks - B. L.<br /> 

Re: Change Catalog

From
Heikki Linnakangas
Date:
black light wrote:
> Hi,
> I can access to system catalog using syscache functions. How can i change
> the values of cache (e.g. change an attribute in pg_authid)? Are syscache
> functions readonly?

I'd suggest that you look at the existing places that modify catalogs
for inspiration. E.g AlterRole().

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com