pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stefan Sturm <stefan@urkman.de>
To: postgres@yahoogroups.de
Subject: Re: [postgres] Foreign Key
Date: Mon, 13 Oct 2003 12:54:27 +0200
Message-ID: <20031013105453.2D189D1B4FF@svr1.postgresql.org> (raw)

Sorry für die letzte Mail. Habe bei der falschen Mail auf Antwort
geklickt.

Nochmals Sorry,
Stefan

> -----Original Message-----
> From: Stefan Sturm [mailto:stefan@urkman.de]
> Sent: Monday, October 13, 2003 12:48 PM
> To: postgres@yahoogroups.de
> Subject: RE: [SQL] [postgres] Foreign Key
> 
> Hallo,
> 
> > > In der Tabelle status befinden sich Datensätze. Die Tabelle logins
> > ist
> > > leer. Nun versuche ich folgenden Befehl:
> > >
> > > ALTER TABLE "public"."login " ADD CONSTRAINT "test" FOREIGN KEY
> > > ("status__id") REFERENCES "public"."status"("id")
> > >   ON DELETE RESTRICT
> > >   ON UPDATE RESTRICT
> > >   NOT DEFERRABLE;
> > >
> > > Jetzt bekomme ich immer die Fehlermeldung:
> > > ERROR:  Query was cancelled.
> >
> > hmmm, die Fehlermeldung ist seltsam und tritt normalerweise bei
> > Abbruch zum
> > Beispiel bei ^C im Frontent auf.
> 
> Ich tippe mal, das der PostgreSQL Manager da selber ein Timeout macht.
> Habe es auch mal mit phpPgAdmin versucht. Der läuft sich Tod.
> 
> 
> > Bei ALTER TABLE kann Postgres noch nicht alle Features; je älter die
> > Version, desto weniger ;-)
> 
> Ich verwende die Version 7.3.4. Das sollte doch wohl reichen, oder?
> 
> > Evtl. sind auch die Anführungszeichen ein Problem.
> 
> Habe es auch ohne versucht, das gleiche Problem.
> 
> Ich werde es jetzt mal mit psql, direkt auf dem Server testen.
> Vielleicht geht es ja dann.
> 
> Grüße,
> Stefan
> 
> 
> Wenn Sie Ihr Abonnement fuer diese Gruppe kuendigen moechten, senden
> Sie eine E-Mail an:
> postgres-unsubscribe@egroups.de
> 
> 
> 
> Die Nutzung von Yahoo! Groups ist Bestandteil von
> http://de.docs.yahoo.com/info/utos.html
> 



Wenn Sie Ihr Abonnement fuer diese Gruppe kuendigen moechten, senden 
Sie eine E-Mail an:
postgres-unsubscribe@egroups.de

 

Die Nutzung von Yahoo! Groups ist Bestandteil von http://de.docs.yahoo.com/info/utos.html 





view thread (22+ messages)  latest in thread

Message-ID: <20031013105453.2D189D1B4FF@svr1.postgresql.org>
Permalink:  ../20031013105453.2D189D1B4FF@svr1.postgresql.org/
Also on:    postgresql.org/message-id/20031013105453.2D189D1B4FF@svr1.postgresql.org

 · 

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: stefan@urkman.de, postgres@yahoogroups.de
  Subject: Re: [postgres] Foreign Key
  In-Reply-To: <20031013105453.2D189D1B4FF@svr1.postgresql.org>

* 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