From: Robert Paulsen <robert@paulsenonline.net>
To: pgsql-sql@postgresql.org
Subject: Question re: relational technique
Date: Sun, 12 Mar 2006 11:11:17 -0600
Message-ID: <200603121111.17147.robert@paulsenonline.net> (raw)
Here is a sample table:
item
item_id int
name char
attrib1 char
attrib2 char
attrib3 char
One problem with the above is that the list of attributes is fixed. I am
looking for a way to assign new, previously undefined, attributes to items
without changing the table structure. Is it ever appropriate to do the
following?
item
item_id int
name char
details
item_id int
attribute_name char
attribute_value char
If this is a reasonable technique are their guidelines for its use? When is it
approptiate? When not?
Thanks,
Bob
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-sql@postgresql.org
Cc: robert@paulsenonline.net
Subject: Re: Question re: relational technique
In-Reply-To: <200603121111.17147.robert@paulsenonline.net>
* 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