Skip to content

Commit 33de88b

Browse files
committed
chore: clarify before-create script
1 parent 8222d96 commit 33de88b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ansible/files/postgresql_extension_custom_scripts/before-create.sql

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
-- If extension is a TLE, create extension dependencies in supautils.privileged_extensions.
1+
-- 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.
29
do $$
310
declare
411
_extname text := @extname@;

0 commit comments

Comments
 (0)