X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D7294D1B4FF for ; Mon, 13 Oct 2003 10:48:37 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 66044-10 for ; Mon, 13 Oct 2003 07:48:22 -0300 (ADT) Received: from n7.grp.scd.yahoo.com (n7.grp.scd.yahoo.com [66.218.66.91]) by svr1.postgresql.org (Postfix) with SMTP id 97C8AD1B4F0 for ; Mon, 13 Oct 2003 07:48:18 -0300 (ADT) X-eGroups-Return: sentto-2458782-119-1066042100-pgsql-sql=postgresql.org@returns.groups.yahoo.com Received: from [66.218.66.96] by n7.grp.scd.yahoo.com with NNFMP; 13 Oct 2003 10:48:21 -0000 X-Sender: stefan@urkman.de X-Apparently-To: postgres@yahoogroups.de Received: (qmail 89261 invoked from network); 13 Oct 2003 10:48:20 -0000 Received: from unknown (66.218.66.217) by m13.grp.scd.yahoo.com with QMQP; 13 Oct 2003 10:48:20 -0000 Received: from unknown (HELO anrath.info) (217.160.130.42) by mta2.grp.scd.yahoo.com with SMTP; 13 Oct 2003 10:48:20 -0000 Received: (qmail 20733 invoked by uid 1047); 13 Oct 2003 10:48:18 -0000 Received: from pd9540be6.dip.t-dialin.net (HELO sturmxp) (217.84.11.230) by anrath.info with SMTP; 13 Oct 2003 10:48:18 -0000 To: X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <371960000.1066041434@gnarzelwicht.delirium-arts.de> Thread-Index: AcORdhDEQ+b0zETaTwmR6yTtVDoaJQAAVyPA From: "Stefan Sturm" MIME-Version: 1.0 Mailing-List: list postgres@yahoogroups.de; contact postgres-owner@yahoogroups.de Precedence: bulk Date: Mon, 13 Oct 2003 12:47:52 +0200 Subject: Re: [postgres] Foreign Key Reply-To: postgres@yahoogroups.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Message-Id: <20031013104818.97C8AD1B4F0@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/134 X-Sequence-Number: 15534 Hallo, > > In der Tabelle status befinden sich Datens=E4tze. 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. >=20 > 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=E4uft sich Tod. =20 > Bei ALTER TABLE kann Postgres noch nicht alle Features; je =E4lter die > Version, desto weniger ;-) Ich verwende die Version 7.3.4. Das sollte doch wohl reichen, oder? > Evtl. sind auch die Anf=FChrungszeichen 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=FC=DFe, Stefan Wenn Sie Ihr Abonnement fuer diese Gruppe kuendigen moechten, senden=20 Sie eine E-Mail an: postgres-unsubscribe@egroups.de =20 Die Nutzung von Yahoo! Groups ist Bestandteil von http://de.docs.yahoo.com/= info/utos.html=20