pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Ryan <chris@greatbridge.com>
To: pgsql-sql@postgresql.org
Subject: [Fwd: [Gborg-bugs] BUG: reference error when using inherited tables (ID: 269) (new)]
Date: Wed, 16 May 2001 08:45:36 -0400
Message-ID: <3B027670.81BC61BC@greatbridge.com> (raw)

	I received this bug on a project I administer that Isn't related to my
project. I forwarded it here to see if any of you could help this
person.


gorefest@ossi.fho-emden.de wrote:
> 
> Title: reference error when using inherited tables
> Bug Type: Software bug
> Severity: Serious
> Software Version: Other
> Environment: k6III-500/394
> SuSE 7.1
> Postgres 7.1
> 
> Created By: gorefest
> Description: Hi
> 
> I have a problem with inherited refences.
> For example :
> CREATE TABLE A(LNR integer Primary key  blabla);
> CREATE TABLE B () INHERITS(A);
> CREATE TABLE C(LNR integer primary key blabla, RNR Intger not null, unique(RNR), FOREIGN KEY(RNR) REFERENCES A.LNr ON DELETE CASCADE);
> 
> will throw an error, if i try to insert an object into B with a counterpart in C. A with a counterpart in C works. Due to the fact, that the inheritance is an acyclic graph, the machine should look in B to. But i get a reference error instead. Are references on inherited tables not implemented yet ?
> 
> greetings gorefest
> Status: Submitted
> 
> http://www.greatbridge.org/project/gborg/bugs/bugupdate.php?269
> 
> _______________________________________________
> Gborg-bugs mailing list
> Gborg-bugs@greatbridge.org
> http://www.greatbridge.org/mailman/listinfo/gborg-bugs



view thread (2+ messages)  latest in thread

Message-ID: <3B027670.81BC61BC@greatbridge.com>
Permalink:  ../3B027670.81BC61BC@greatbridge.com/
Also on:    postgresql.org/message-id/3B027670.81BC61BC@greatbridge.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: chris@greatbridge.com
  Subject: Re: [Fwd: [Gborg-bugs] BUG: reference error when using inherited tables (ID: 269) (new)]
  In-Reply-To: <3B027670.81BC61BC@greatbridge.com>
  References: <3B027670.81BC61BC@greatbridge.com>

* 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