We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8222d96 commit 33de88bCopy full SHA for 33de88b
ansible/files/postgresql_extension_custom_scripts/before-create.sql
@@ -1,4 +1,11 @@
1
--- If extension is a TLE, create extension dependencies in supautils.privileged_extensions.
+-- If the following are true:
2
+-- * the extension to be created is a TLE
3
+-- * the extension is created with `cascade`
4
+--
5
+-- then we pre-`create` all nested extension dependencies which are part of
6
+-- `supautils.privileged_extensions`. This is because supautils can't intercept
7
+-- the extension creation for dependencies - it can only intercept the `create
8
+-- extension` statement.
9
do $$
10
declare
11
_extname text := @extname@;
0 commit comments