• Andres Freund's avatar
    Add CASCADE support for CREATE EXTENSION. · b67aaf21
    Andres Freund authored
    Without CASCADE, if an extension has an unfullfilled dependency on
    another extension, CREATE EXTENSION ERRORs out with "required extension
    ... is not installed". That is annoying, especially when that dependency
    is an implementation detail of the extension, rather than something the
    extension's user can make sense of.
    
    In addition to CASCADE this also includes a small set of regression
    tests around CREATE EXTENSION.
    
    Author: Petr Jelinek, editorialized by Michael Paquier, Andres Freund
    Reviewed-By: Michael Paquier, Andres Freund, Jeff Janes
    Discussion: 557E0520.3040800@2ndquadrant.com
    b67aaf21
test_ext_cyclic2--1.0.sql 211 Bytes