Thread: ALTER TABLE DROP CONSTRAINT

ALTER TABLE DROP CONSTRAINT

From
Jean-Michel POURE
Date:
Hello,

PostgreSQL 7.2 includes a new ALTER TABLE DROP CONSTRAINT.
This should make table rebuilding a lot easier.

Cheers,
Jean-Michel

Re: ALTER TABLE DROP CONSTRAINT

From
Dave Page
Date:

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm.poure@freesurf.fr]
> Sent: 29 September 2001 13:32
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] ALTER TABLE DROP CONSTRAINT
>
>
> Hello,
>
> PostgreSQL 7.2 includes a new ALTER TABLE DROP CONSTRAINT.
> This should make table rebuilding a lot easier.
>

Yes, it's on my 7.2 to-do list. It only drops checks though :-(

I have now also committed:

1) OID-less table support.
2) Partial Index Support (currentlt you can't view the constraint, but
that's due to a bug in the server afaict.
3) Option to change the master database in case you don't have access to
template1 (for ISP hosted dbs generally).
4) Inaccessible DBs (ie teplate0 and others that pg_hba.conf doesn't allow
access to) are now flagged as such and handled accordingly.

Regards, Dave.