Re: limit table to one row

From: Brandon Metcalf <brandon(at)geronimoalloys(dot)com>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: limit table to one row
Date: 2009-06-09 14:56:04
Message-ID: Pine.LNX.4.58L.0906090955330.11099@cedar.geronimoalloys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

g == gryzman(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2009-06-09 15:04:10 Re: postgres getting slow under heavy load though autivacuum is enabled
Previous Message G. Allegri 2009-06-09 14:52:19 column name gets substitudes inside an execute statement of a trigger function. how to avoid it?!