pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Björn Lietz-Spendig <B.Lietz-Spendig@gmx.de>
To: pgsql-interfaces@postgresql.org
Subject: NEWBIE Query the PG8 Systemtables pg_xxx
Date: Wed, 06 Oct 2004 11:06:48 +0200
Message-ID: <4163B5A8.4090503@gmx.de> (raw)

Hi folks,
It is my intention to create a visual DB-Designer for PostgreSQL 8 based 
on libpg.dll. One of the first things I want to do is to query the 
"systemtables".
AFAIK the hierachy is server-database-schema-tables-columns etc.
My questions :
1) is there a "Systemtables (pg_xxx)" ER  Model available ? Where ?
2) What is the glue (key-foreign key) between the tables ? The oid ?
3) what the heck is a schema good for. ?
If anybody can provide me an SQL example how o query a database to get 
the associated tables and its rows it would be a great help.
As announced in the Subject : I am a PG newbie, so any hints are welcome.
Borke Lietz




Message-ID: <4163B5A8.4090503@gmx.de>
Permalink:  ../4163B5A8.4090503@gmx.de/
Also on:    postgresql.org/message-id/4163B5A8.4090503@gmx.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: B.Lietz-Spendig@gmx.de
  Subject: Re: NEWBIE Query the PG8 Systemtables pg_xxx
  In-Reply-To: <4163B5A8.4090503@gmx.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox