Re: adding fields to pg_database - Mailing list pgsql-hackers

From Tom Lane
Subject Re: adding fields to pg_database
Date
Msg-id 9213.1144779904@sss.pgh.pa.us
Whole thread Raw
In response to Re: adding fields to pg_database  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Responses Re: adding fields to pg_database
List pgsql-hackers
"Jonah H. Harris" <jonah.harris@gmail.com> writes:
> On 4/11/06, Markus Schiltknecht <markus@bluegap.ch> wrote:
>> I've only added the fields in include/catalog/pg_database.h. Do I need
>> to fiddle other places?

> Make sure you updated Natts_pg_database, the bootstrap DATA line, and
> the stuff in src/backend/commands/dbcommands.c.

Good ways to answer this sort of question are:

1. Grep for references to some of the existing fields in the same catalog.

2. Look at the CVS diff for previous commits that added fields to the
same catalog.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: adding fields to pg_database
Next
From: "Jonah H. Harris"
Date:
Subject: Re: adding fields to pg_database