Re: Change Catalog - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Change Catalog
Date
Msg-id 4B449211.2020706@enterprisedb.com
Whole thread Raw
In response to Change Catalog  (black light <blacklight1600@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: tribble.postgresql.org - planned maintenance downtime
Next
From: Alvaro Herrera
Date:
Subject: Re: 'replication' keyword on .pgpass (Streaming Replication)