Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 889C9475F73 for ; Mon, 30 Sep 2002 14:18:16 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id EB9F5475EF7 for ; Mon, 30 Sep 2002 14:18:15 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1734812; Mon, 30 Sep 2002 11:18:38 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Mike Sosteric Subject: Re: [GENERAL] arrays Date: Mon, 30 Sep 2002 11:20:09 -0700 X-Mailer: KMail [version 1.4] Cc: pgsql-sql@postgresql.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200209301120.09427.josh@agliodbs.com> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/436 X-Sequence-Number: 9713 Mike, > has an language attribute. if there are, say 67 seperate items, each with > multiple languages, then the comlexity of the table structure skyrockets > because you have to allow for multiple titles, multiple names, multiple > everything.=20 This looks soluable several ways.=20=20=20 Question #1: If each record has 67 fields, and each field may appear in=20 several languages, is it possible for some fields to be in more languages= =20 than others? I.e. if "title-en" and "title-de" exist, does it follow that= =20 "content-en" and "content-de" exist as well? Or not? Question #2: Does your XML schema allow locall defined attributes? That is= ,=20 do some records have entire attributes ("fields" ) that other records do no= t? Suggestion #1: Joe Celko's "SQL for Smarties, 2nd Ed." is an excellent boo= k=20 for giving you ideas on how to adapt SQL structures to odd purposes. --=20 -Josh Berkus Aglio Database Solutions San Francisco