X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 429CE9DCDA7 for ; Fri, 24 Mar 2006 13:22:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81658-10 for ; Fri, 24 Mar 2006 13:22:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.cores.co.yu (cores-2.yubc.net [213.184.101.2]) by postgresql.org (Postfix) with SMTP id 4E3F99DCD90 for ; Fri, 24 Mar 2006 13:22:02 -0400 (AST) Received: (qmail 771 invoked by uid 1013); 24 Mar 2006 17:32:33 -0000 Received: from milorad.poluga@cores.co.yu by mail by uid 1010 with qmail-scanner-1.22-st-qms (clamdscan: 0.74. spamassassin: 2.63. Clear:RC:1(10.0.1.253):. Processed in 0.023854 secs); 24 Mar 2006 17:32:33 -0000 X-Antivirus-CORESINC-Mail-From: milorad.poluga@cores.co.yu via mail X-Antivirus-CORESINC: 1.22-st-qms (Clear:RC:1(10.0.1.253):. Processed in 0.023854 secs Process 762) Received: from unknown (HELO poluga.linsoft.co.yu) (10.0.1.253) by mail.cores.co.yu with SMTP; 24 Mar 2006 17:32:32 -0000 From: Milorad Poluga Organization: CORES To: pgsql-sql@postgresql.org Subject: Re: Question about One to Many relationships Date: Fri, 24 Mar 2006 18:22:45 +0100 User-Agent: KMail/1.6.1 References: <226d83de0603240852q54af3512odfce218d69718c8b@mail.gmail.com> In-Reply-To: <226d83de0603240852q54af3512odfce218d69718c8b@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200603241822.45125.milorad.poluga@cores.co.yu> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/381 X-Sequence-Number: 24727 Child table references a not-existing table: ('band' insted of 'bands') Error: ERROR: relation "band" does not exist > CREATE TABLE bands ( > CREATE TABLE bands_on_album ( - - - > band_id integer REFERENCES band (id), - - - Regards, Milorad Poluga milorad.poluga@cores.co.yu