Re: Replacing uuid-ossp with uuid-freebsd - Mailing list pgsql-general

From Jan de Visser
Subject Re: Replacing uuid-ossp with uuid-freebsd
Date
Msg-id 1436386.mQRLPreKgc@wolverine
Whole thread Raw
In response to Replacing uuid-ossp with uuid-freebsd  (Piotr Gasidło <quaker@barbara.eu.org>)
List pgsql-general

On May 25, 2015 04:17:32 PM Piotr Gasidło wrote:

> test_uuid=# drop extension "uuid-ossp";

> ERROR:  cannot drop extension uuid-ossp because other objects depend on it

> DETAIL:  default for table test column id depends on function

> uuid_generate_v4() HINT:  Use DROP ... CASCADE to drop the dependent

> objects too.

 

Wouldn't a simple ALTER TABLE to change/drop the default of the id column do?

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Replacing uuid-ossp with uuid-freebsd
Next
From: "Peter J. Holzer"
Date:
Subject: Re: Queries for unused/useless indexes