From: Stefan Sturm <stefan@urkman.de>
To: postgres@yahoogroups.de
Subject: Re: [postgres] Foreign Key
Date: Mon, 13 Oct 2003 12:47:52 +0200
Message-ID: <20031013104818.97C8AD1B4F0@svr1.postgresql.org> (raw)
In-Reply-To: <371960000.1066041434@gnarzelwicht.delirium-arts.de>
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
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: <20031013104818.97C8AD1B4F0@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