Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZyQb-0003BD-0r for pgsql-sql@arkaria.postgresql.org; Wed, 08 May 2013 07:04:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UZyQa-0006UC-Gy for pgsql-sql@arkaria.postgresql.org; Wed, 08 May 2013 07:04:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZyQZ-0006TL-6r for pgsql-sql@postgresql.org; Wed, 08 May 2013 07:04:39 +0000 Received: from adsltrust.ath.forthnet.gr ([194.219.204.174] helo=smadev.internal.net) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UZyQW-00044W-Hu for pgsql-sql@postgresql.org; Wed, 08 May 2013 07:04:38 +0000 X-Bogosity: No, tests=bogofilter Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.5/8.14.5) with ESMTP id r4874YVw058507 for ; Wed, 8 May 2013 10:04:34 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Received: (from achill@localhost) by smadev.internal.net (8.14.5/8.14.5/Submit) id r4874YQa058506 for pgsql-sql@postgresql.org; Wed, 8 May 2013 10:04:34 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) X-Authentication-Warning: smadev.internal.net: achill set sender to achill@matrix.gatewaynet.com using -f From: Achilleas Mantzios To: pgsql-sql@postgresql.org Subject: Re: Correct implementation of 1:n relationship with n>0? Date: Wed, 08 May 2013 10:04:34 +0300 Message-ID: <5661746.f8cZtjsOM5@smadev.internal.net> Organization: Dynacom Tankers Mgmt X-Face: "g.Z.Lx$T1ZMcQ%hC!e^E&tD,cT:"bTs45WM(,vUj@8QBz6}T'sn+EnZTzy`UVQ:&A=`_; f)V+K4z}rG5:(uu[b:WY'*`6F"ou-Or(q; u{#Gxx|MkO4E.vh@E}[#7Ytt"shtU>A&@CO` a|Wx]m_wRD,?4!'Ir1$4iis{/.WU<`#dhKI]g2w^!B[CvRJr+W|; -VS~QcL!s1"'??rct} ^=5Fa!W!{a}Jd:W%6,E[N\r-<)T'_N[~3fy9pF"b>-Yj^p}/2tPudP>I"$%w]"W4CIja6J Tajm}"8t`-hJlf2kRQ_V,eT_kN6KLG+~2mZ+cPX,p,xQN9QVR References: <20130430163905.77d43412c0176c3d9ebd8d90@gmx.net> <3724312.iEkiItIUeG@smadev.internal.net> <20130430202542.a68c8042be92943866afa16c@gmx.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org On =C3=94=C3=B1=C3=A9 30 =C3=81=C3=B0=C3=B1 2013 20:25:42 Wolfgang Keller w= rote: > > (there is nothing wrong in getting your hands dirty with pl/pgsql btw) >=20 > The point is that I would have expected that problem to be solved > within the past four decades since relational databases have been > invented. Or at least in the past two decades since PostgreSQL has been > developed. >=20 Then what about n>1, n>2, n>k where k an arbitrarily large positive integer? isn't it the same problem class actually? Is there any serious database vendor who provides out of the box support fo= r 1:n, n>0 ? Or is it an "unusual" user requirement in the first place. Ever thought why not so many people have asked for this? Anyway, IMHO, the need for more programming/programmers increases with the = years, engineering becomes more complex, you can't expect serious contgrol in anyt= hing without=20 getting under the hood. > >;-> >=20 > After all, this should be really an ultra-classic-standard FAQ item. >=20 > I'm definitely not the first database user in the world who needs to > have a 1:n relationship with n>0 and integrity enforced by the > database. >=20 > Sincerely, >=20 > Wolfgang >=20 >=20 >=20 - Achilleas Mantzios IT DEV IT DEPT Dynacom Tankers Mgmt --=20 Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql