Re: Arrays

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Eric E <whalesuit(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Arrays
Date: 2006-01-26 23:06:34
Message-ID: DF4B83BD-CEE5-48EA-B3A6-75F09A561E39@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Jan 27, 2006, at 4:41 , Eric E wrote:

> I second that, and I'd love to have someone clarify the appropriate
> time to use arrays vs. more columns or an referenced tabled. I've
> always found that confusing.

I would only use arrays if the natural data type of the data is an
array, such as some math applications. In these situations, for the
most part you are not going to be doing a lot of operations on
elements of the array, but rather the array value as a whole. While
PostgreSQL does have array support, PostgreSQL is a relational
database and as such is designed to handle relational data and is
best at handling data that is stored relationally, i.e., in tables
and columns.

Michael Glaesemann
grzm myrealbox com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-01-26 23:14:43 Re: SYNTAX ERROR at or near SQLSTATE
Previous Message vishal saberwal 2006-01-26 23:02:46 SYNTAX ERROR at or near SQLSTATE