----- Forwarded message from C-Cose Masters <cmasters(at)nbnet(dot)nb(dot)ca> -----
Date: Fri, 14 Jun 2002 18:38:26 -0300
From: "C-Cose Masters" <cmasters(at)nbnet(dot)nb(dot)ca>
Subject: Advice req for restricting entry values
Delivery-date: Fri, 14 Jun 2002 18:45:04 -0300
User-Agent: Pan/0.11.3 (Unix)
[This is an email copy of a Usenet post to "comp.databases.postgresql.novice"]
I'm attempting to design a database for use in a library (loan) setting.
Although I'm a novice psql user, I have had previous experience in data
mangement during the "good 'ol" text entry days.
Several of the fields have a limited set of possible values; as such, I
would like to automate the initial population and subsequent entry of new
records -- fields such as 'media', 'genre', 'interest', etc. I'd like
some input regarding the most effective way to accomplish this task.
I've considered the following, but have yet to implement any of them:
1. Somehow defining the variable for these fields as an "array" or
"matrix". Although my understanding of arrays is different from the use
(as I see it) within sql.
2. Referencing secondary tables for each of these fields. I ~have~
created and populated several secondary tables, and have added a single
constraint to the primary table for 'media' type. I am unsure how to
implement this constraint when populating.
3. Some other method?
I plan on using forms (through pgaccess) to automate this procedure
somewhat, so I'd like the eventual forms to closely reflect the design of
I have further questions about form design in pgaccess, but will post
----- End forwarded message -----
pgsql-novice by date
|Next:||From: Josh Berkus||Date: 2002-06-17 19:02:34|
|Subject: Re: Fw: (orig posted to usenet) Advice req for restricting entry values]|
|Previous:||From: Ben||Date: 2002-06-15 10:39:37|
|Subject: Re: chown 'postgres': invalid user (win2000 install) - solved|
pgsql-general by date
|Next:||From: Andrew Sullivan||Date: 2002-06-15 22:18:07|
|Subject: Re: read this and puke|
|Previous:||From: Justin Clift||Date: 2002-06-15 21:02:26|
|Subject: Re: Would a PostgreSQL only hosting environment be of|