Adding Not Null constraints doesn't work with beta 3

From: "Ben Trewern" <ben_trewern(at)hotmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Adding Not Null constraints doesn't work with beta 3
Date: 2004-10-21 13:38:20
Message-ID: BAY8-F96U2xljUvJsqG000256aa@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

All,

There seems to be a new problem with beta 3.

When you try to add a Not Null constraint, the SQL made is incorrect.

When trying to change the operative_group_id field in the operatives table I
get:

ALTER TABLE operatives ALTER operative_group_id TYPE int4ALTER TABLE
operatives
ALTER COLUMN operative_group_id SET NOT NULL;

This I'm sure used to work previously,

I'm using PostgreSQL 8.0 beta2

Regards,

Ben

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2004-10-21 14:36:33 Re: BUG
Previous Message Andreas Pflug 2004-10-21 12:39:45 Re: [pgadmin-support] Just to inform sucessful