Re: limit table to one row

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Brandon Metcalf <brandon(at)geronimoalloys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: limit table to one row
Date: 2009-06-06 16:30:49
Message-ID: 2f4958ff0906060930q13ef947av14f6f4b1570d4d39@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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..

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2009-06-06 17:03:44 Re: Installation problem
Previous Message DimitryASuplatov 2009-06-06 15:45:03 Re: How to store text files in the postgresql?