Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 55A17475DC0 for ; Thu, 12 Dec 2002 04:49:56 -0500 (EST) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by postgresql.org (Postfix) with ESMTP id AD552475AE6 for ; Thu, 12 Dec 2002 04:49:55 -0500 (EST) Received: from klaster.net (pi210.krakow.cvx.ppp.tpnet.pl [217.99.209.210]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id B75B42B215; Thu, 12 Dec 2002 10:34:41 +0100 (CET) Message-ID: <3DF85C53.6010309@klaster.net> Date: Thu, 12 Dec 2002 10:52:19 +0100 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Huub Cc: pgsql-sql@postgresql.org Subject: Re: primary + foreign key References: <3DF84EC1.2020506@klaster.net> In-Reply-To: <3DF84EC1.2020506@klaster.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/150 X-Sequence-Number: 10738 Huub wrote: > Hi, > > I suppose 'detail' is the table name? And what is master? > > Thanks > > Huub You should know that. Detail is a table you want to create and master is a table where foreign key points to. Tomasz Myrta