pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: MG <makgab@freemail.hu>
To: Nick Fankhauser <nickf@ontko.com>
Cc: PostgreSQL List <pgsql-admin@postgresql.org>
Subject: Re: ALTER TABLE for field modify...
Date: Fri, 10 May 2002 17:33:56 +0200 (CEST)
Message-ID: <XFMail.20020510173356.makgab@freemail.hu> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGIEGLEOAA.nickf@ontko.com>


On 03-May-2002 Nick Fankhauser wrote:
> alter table <tablename> drop constraint ID unique;
> alter table <tablename> drop constraint ID not null;
> 
> alter table <tablename> add constraint ID references table2 ;
> 

Hi!

It not works... :(
How can I change the properties of a field?

Bye!
-----------------
Linux RedHat 7.1
-----------------



view thread (6+ messages)  latest in thread

Message-ID: <XFMail.20020510173356.makgab@freemail.hu>
Permalink:  ../XFMail.20020510173356.makgab@freemail.hu/
Also on:    postgresql.org/message-id/XFMail.20020510173356.makgab@freemail.hu

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: makgab@freemail.hu, nickf@ontko.com
  Subject: Re: ALTER TABLE for field modify...
  In-Reply-To: <XFMail.20020510173356.makgab@freemail.hu>
  References: <NEBBLAAHGLEEPCGOBHDGIEGLEOAA.nickf@ontko.com> <XFMail.20020510173356.makgab@freemail.hu>

* 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