Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 18F48475E10 for ; Thu, 2 May 2002 17:20:05 -0400 (EDT) Received: from mail.enternet.hu (mail.enternet.hu [62.112.192.6]) by postgresql.org (Postfix) with ESMTP id 9E24A47640D for ; Thu, 2 May 2002 16:26:06 -0400 (EDT) Received: from 3e70ccc9.dialin.enternet.hu ([62.112.204.201] helo=server.sopron.gabor.hu) by mail.enternet.hu with esmtp (Exim 3.34 #1) id 173N7q-0005uY-00 for pgsql-admin@postgresql.org; Thu, 02 May 2002 22:24:26 +0200 Received: from freemail.hu (localhost [127.0.0.1]) by server.sopron.gabor.hu (8.11.2/8.11.2) with ESMTP id g42KRVj01313 for ; Thu, 2 May 2002 22:27:31 +0200 Message-ID: X-Mailer: XFMail 1.5.1 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 02 May 2002 22:27:31 +0200 (CEST) From: MG To: PostgreSQL List Subject: ALTER TABLE for field modify... X-Archive-Number: 200205/12 X-Sequence-Number: 4187 Hi! How can I modify a field of table with ALTER TABLE? I want to modify the constraint. The TABLE is now: "ID" int8 NOT NULL, UNIQUE But I want this: "ID" int8 REFERENCE "table2" THanx! Bye! ----------------- Linux RedHat 7.1 -----------------