Re: limit table to one row

From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: limit table to one row
Date: 2009-06-06 21:27:56
Message-ID: 200906062327.56905.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday 6. June 2009, Grzegorz Jaśkiewicz wrote:
>just change whatever you are storing to be in vertical structure,
>instead of horizontal. so instead of create table foo(a int, b int, c
>int, etc), try:
>
>create table foo(name varchar, val int);
>
>common mistake I've seen committed by people..

That sounds a lot like EAV.
--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2009-06-06 22:03:39 Re: PostgreSQL and XA Distributed Transaction Protocol
Previous Message Christian Ferrari 2009-06-06 20:51:38 PostgreSQL and XA Distributed Transaction Protocol