Re: pg_catalog tables don't have constraints?

From: "" <kbrannen(at)pwhome(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_catalog tables don't have constraints?
Date: 2017-06-09 18:57:25
Message-ID: 20170609115725.6776AD47@m0117458.ppops.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Neil Anderson <neil(at)postgrescompare(dot)com> wrote:

> I've been exploring the pg_catalog tables and pointed a couple of tools at
> it to extract an ER diagram for a blog post. At first I thought it was a bug
> in the drawing tool but it appears that the relationships between the
> pg_catalog tables are implicit rather than enforced by the database, is that correct?

Every time I have to dive into the pg_* tables, I really want such a diagram because
the relationships aren't obvious to me, so I've been looking for a diagram like that
and haven't found one. I've also considered trying to make one, but with all of the
custom types, my normal ERD tool isn't very cooperative.

Would you be willing to share the diagram with the list when you're done?

Would you be willing to share the names of the tools and process you used to create the diagram?

Thanks,
Kevin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2017-06-09 19:04:20 Re: pg_catalog tables don't have constraints?
Previous Message Joe Conway 2017-06-09 18:22:06 Re: Limiting DB access by role after initial connection?