X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 73641D1C9E5 for ; Tue, 18 Nov 2003 23:52:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 40744-06 for ; Tue, 18 Nov 2003 19:51:54 -0400 (AST) Received: from heineken.cs.stevens-tech.edu (heineken.cs.stevens-tech.edu [155.246.89.69]) by svr1.postgresql.org (Postfix) with ESMTP id 763A6D1B520 for ; Tue, 18 Nov 2003 19:51:51 -0400 (AST) Received: from ymalik (helo=localhost) by heineken.cs.stevens-tech.edu with local-esmtp (Exim 3.35 #1 (Debian)) id 1AMFdP-0002Y6-00 for ; Tue, 18 Nov 2003 18:51:51 -0500 Date: Tue, 18 Nov 2003 18:51:51 -0500 (EST) From: Yasir Malik To: PostgreSQL Subject: Re: Arrays - a good idea? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/229 X-Sequence-Number: 16044 Hello, I don't think there's any reason you should use arrays. You can do everything using tables, and it probably would be easier to use tables instead. Extracting information from arrays is also more difficult if you're using something like JDBC or the connectivity available in PHP. I don't know the criteria of when arrays are necessary, but I cannot think of an example where arrays are absolutely necessary Regards, Yasir On Tue, 18 Nov 2003, Paul Ganainm wrote: > Date: Tue, 18 Nov 2003 22:05:00 -0000 > From: Paul Ganainm > To: pgsql-sql@postgresql.org > Subject: [SQL] Arrays - a good idea? > > > > Hi all, > > > Even though PostgreSQL supports arrays, is it a good idea to use them? I > mean, they > > a) don't conform to the relational model > > and > > b) are not transportable > > > so if one is designing an app, should one use them? > > When should they not/never be used? What are the criteria for justifying > their use? > > > Paul... > > > -- > > plinehan__AT__yahoo__DOT__com > > C++ Builder 5 SP1, Interbase 6.0.1.6 IBX 5.04 W2K Pro > > Please do not top-post. > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >