Re: limit table to one row - Mailing list pgsql-general

From Leif B. Kristensen
Subject Re: limit table to one row
Date
Msg-id 200906062327.56905.leif@solumslekt.org
Whole thread Raw
In response to Re: limit table to one row  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
List 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/

pgsql-general by date:

Previous
From: Christian Ferrari
Date:
Subject: PostgreSQL and XA Distributed Transaction Protocol
Next
From: DimitryASuplatov
Date:
Subject: Re: How to store text files in the postgresql?