mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-10 22:16:50 +02:00
b67aaf21e8
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
4 lines
211 B
SQL
4 lines
211 B
SQL
/* src/test/modules/test_extensions/test_ext_cyclic2--1.0.sql */
|
|
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
|
|
\echo Use "CREATE EXTENSION test_ext_cyclic2" to load this file. \quit
|