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 2A684D1B4F4 for ; Mon, 13 Oct 2003 10:55:12 +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 74937-07 for ; Mon, 13 Oct 2003 07:54:56 -0300 (ADT) Received: from n20.grp.scd.yahoo.com (n20.grp.scd.yahoo.com [66.218.66.76]) by svr1.postgresql.org (Postfix) with SMTP id 2D189D1B4FF for ; Mon, 13 Oct 2003 07:54:53 -0300 (ADT) X-eGroups-Return: sentto-2458782-121-1066042495-pgsql-sql=postgresql.org@returns.groups.yahoo.com Received: from [66.218.66.157] by n20.grp.scd.yahoo.com with NNFMP; 13 Oct 2003 10:54:55 -0000 X-Sender: stefan@urkman.de X-Apparently-To: postgres@yahoogroups.de Received: (qmail 45961 invoked from network); 13 Oct 2003 10:54:54 -0000 Received: from unknown (66.218.66.218) by m17.grp.scd.yahoo.com with QMQP; 13 Oct 2003 10:54:54 -0000 Received: from unknown (HELO anrath.info) (217.160.130.42) by mta3.grp.scd.yahoo.com with SMTP; 13 Oct 2003 10:54:54 -0000 Received: (qmail 20817 invoked by uid 1047); 13 Oct 2003 10:54:53 -0000 Received: from pd9540be6.dip.t-dialin.net (HELO sturmxp) (217.84.11.230) by anrath.info with SMTP; 13 Oct 2003 10:54:53 -0000 To: X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Thread-Index: AcORdhDEQ+b0zETaTwmR6yTtVDoaJQAAVyPAAAA3DKA= 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:54:27 +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: <20031013105453.2D189D1B4FF@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/133 X-Sequence-Number: 15533 Sorry f=FCr 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 >=20 > Hallo, >=20 > > > 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. > > > > hmmm, die Fehlermeldung ist seltsam und tritt normalerweise bei > > Abbruch zum > > Beispiel bei ^C im Frontent auf. >=20 > 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 >=20 > > Bei ALTER TABLE kann Postgres noch nicht alle Features; je =E4lter die > > Version, desto weniger ;-) >=20 > Ich verwende die Version 7.3.4. Das sollte doch wohl reichen, oder? >=20 > > Evtl. sind auch die Anf=FChrungszeichen ein Problem. >=20 > Habe es auch ohne versucht, das gleiche Problem. >=20 > Ich werde es jetzt mal mit psql, direkt auf dem Server testen. > Vielleicht geht es ja dann. >=20 > Gr=FC=DFe, > Stefan >=20 >=20 > Wenn Sie Ihr Abonnement fuer diese Gruppe kuendigen moechten, senden > Sie eine E-Mail an: > postgres-unsubscribe@egroups.de >=20 >=20 >=20 > Die Nutzung von Yahoo! Groups ist Bestandteil von > http://de.docs.yahoo.com/info/utos.html >=20 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