pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milorad Poluga <milorad.poluga@cores.co.yu>
To: pgsql-sql@postgresql.org
Subject: Re: Question about One to Many relationships
Date: Fri, 24 Mar 2006 18:22:45 +0100
Message-ID: <200603241822.45125.milorad.poluga@cores.co.yu> (raw)
In-Reply-To: <226d83de0603240852q54af3512odfce218d69718c8b@mail.gmail.com>
References: <226d83de0603240852q54af3512odfce218d69718c8b@mail.gmail.com>

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




view thread (9+ messages)  latest in thread

Message-ID: <200603241822.45125.milorad.poluga@cores.co.yu>
Permalink:  ../200603241822.45125.milorad.poluga@cores.co.yu/
Also on:    postgresql.org/message-id/200603241822.45125.milorad.poluga@cores.co.yu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: milorad.poluga@cores.co.yu
  Subject: Re: Question about One to Many relationships
  In-Reply-To: <200603241822.45125.milorad.poluga@cores.co.yu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox