Re: Question about how an application should store "system"

From: elein <elein(at)varlena(dot)com>
To: John McCawley <nospam(at)hardgeus(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question about how an application should store "system"
Date: 2006-01-05 02:15:01
Message-ID: 20060105021501.GR20674@varlena.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 04, 2006 at 01:36:45PM -0600, John McCawley wrote:
> I have decided that I'm going to resume working on my pgDesigner project
> ( http://www.hardgeus.com/projects/pgdesigner/ ). I haven't really
> maintained it for over a year, but I get about 200 visits a day to the
> project homepage, and about two or three emails a week asking for help.
> As the project currently stands, it stores datamodel information in a
> text file separate from the database. What I would like to do is modify
> the application such that it can operate in "live" mode. i.e. store all
> visual datamodel information in the database itself in a series of
> tables. My question for this list is the following: Is there a
> standard way for storing quasi-system related information in Postgres.
> i.e., this is essentially an admin tool, and I was wondering if there
> are naming conventions etc. I should follow such as the table names etc.
>
> John
>

It is recommended that the application data tables reside in their
own schema. If the schema is not meant to be used by anything other
than your program, then consider prepending the schema name with an
underscore. For example:
_pgdes.tablex
_pgdes.tabley
_pgdes.tablez

Be sure you tell people that the tables are being created in their
databases when you do it.

elein

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Benjamin Smith 2006-01-05 03:57:49 Re: Anyone doing a 8.1.0-ia64-RHEL4-as.rpm ?
Previous Message Stephan Szabo 2006-01-05 01:29:32 Re: "REFERENCES" and UNIQUE