X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D5D94DA3A6 for ; Thu, 6 Oct 2005 09:20:31 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89139-10 for ; Thu, 6 Oct 2005 12:20:24 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 9D85DDA398 for ; Thu, 6 Oct 2005 09:20:26 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 0001B40C9A6; Thu, 6 Oct 2005 13:20:20 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 89CBA15EDA; Thu, 6 Oct 2005 13:19:18 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17001-02; Thu, 6 Oct 2005 13:19:15 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id B74EF15ED5; Thu, 6 Oct 2005 13:19:15 +0100 (BST) Message-ID: <43451643.5080701@archonet.com> Date: Thu, 06 Oct 2005 13:19:15 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: xchris Cc: pgsql-sql@postgresql.org Subject: Re: Noob question about types and lists References: <1128595206.27646.18.camel@lyra> <4345088E.4090001@archonet.com> <1128599563.27646.35.camel@lyra> In-Reply-To: <1128599563.27646.35.camel@lyra> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.057 required=5 tests=[AWL=0.007, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/52 X-Sequence-Number: 22905 xchris wrote: > On gio, 2005-10-06 at 12:20 +0100, Richard Huxton wrote: > >> From the manuals... > > I didn't search very well.Sorry! Easy enough to miss. >>However - I don't think you want to anyway. If you're going to use a >>relational database, try a relational approach! Typically, you would do >>something like [cut] > > > I wanted to use a different approch because addresses don't make any > sense for other tables and because they are typically few (3,4) and i > wanted to avoid making a join for this task... > however.. i will use your approch. If you're using a relational DB, better get used to joins :-) -- Richard Huxton Archonet Ltd