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

From Brandon Metcalf
Subject Re: limit table to one row
Date
Msg-id Pine.LNX.4.58L.0906090955330.11099@cedar.geronimoalloys.com
Whole thread Raw
In response to Re: limit table to one row  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Responses Re: limit table to one row
List pgsql-general
g == gryzman@gmail.com writes:

 g> just change whatever you are storing to be in vertical structure,
 g> instead of horizontal. so instead of create table foo(a int, b int, c
 g> int, etc), try:

 g> create table foo(name varchar, val int);

 g> common mistake I've seen committed by people..


I'm not sure I follow how this solves the problem.

--
Brandon

pgsql-general by date:

Previous
From: "G. Allegri"
Date:
Subject: column name gets substitudes inside an execute statement of a trigger function. how to avoid it?!
Next
From: Bill Moran
Date:
Subject: Re: postgres getting slow under heavy load though autivacuum is enabled