Thread: Creating new system catalog

Creating new system catalog

From
"Lee, Shawn"
Date:
Does there exist a checklist for adding a new global system catalog table to
PostgreSQL?


Re: Creating new system catalog

From
"Christopher Kings-Lynne"
Date:
Try:

src/backend/catalog/README

Chris

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org]On Behalf Of Lee, Shawn
> Sent: Wednesday, 8 May 2002 11:11 AM
> To: 'pgsql-hackers@postgresql.org'
> Subject: [HACKERS] Creating new system catalog
> 
> 
> Does there exist a checklist for adding a new global system 
> catalog table to
> PostgreSQL?
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> 



Re: Creating new system catalog

From
Tom Lane
Date:
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Try:
> src/backend/catalog/README
>> 
>> Does there exist a checklist for adding a new global system 
>> catalog table to PostgreSQL?

It's not much of a checklist.  You could try looking at Rod Taylor's
recent pg_depend patches (I think he's done one with a bootstrapped
catalog and one without).

But a more interesting question is what you're doing that you think
needs a new catalog.  As a general rule I'd say that you'd be best
off consulting the hackers list before embarking on such a project,
not after...
        regards, tom lane