pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Tauno Williams <adamtaunowilliams@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: schema design question
Date: Sun, 19 Aug 2007 20:22:07 -0400
Message-ID: <1187569327.4568.5.camel@aleph.wmmi.net> (raw)
In-Reply-To: <ea41f7570708191313t26680a39yfb14760fd00c5fcd@mail.gmail.com>
References: <ea41f7570708190619u6daf7cep96430d20566d6159@mail.gmail.com>
	<20070819181216.GK28490@fetter.org>
	<20070819182658.GC25214@uio.no>
	<ea41f7570708191313t26680a39yfb14760fd00c5fcd@mail.gmail.com>



> However, it still doesn't answer my question about the EV model (where
> each attribute is given its own table).

Do a TABLE(object_id INT, attribute STRING, value STRING) if you just
want to be able to search for objects by an attribute.  But better yet
look at one of the thousand object persistence systems out there,  not
much to be gained from re-inventing the wheel. 

-- 
Adam Tauno Williams, Network & Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org




view thread (10+ messages)

Message-ID: <1187569327.4568.5.camel@aleph.wmmi.net>
Permalink:  ../1187569327.4568.5.camel@aleph.wmmi.net/
Also on:    postgresql.org/message-id/1187569327.4568.5.camel@aleph.wmmi.net

 · 

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-performance@postgresql.org
  Cc: adamtaunowilliams@gmail.com
  Subject: Re: schema design question
  In-Reply-To: <1187569327.4568.5.camel@aleph.wmmi.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