diff options
Diffstat (limited to 'src/include/commands/extension.h')
-rw-r--r-- | src/include/commands/extension.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/include/commands/extension.h b/src/include/commands/extension.h index e98b245ac11..c0e08ddf7d5 100644 --- a/src/include/commands/extension.h +++ b/src/include/commands/extension.h @@ -19,10 +19,13 @@ /* - * creating_extension is only true while running a CREATE EXTENSION command. - * It instructs recordDependencyOnCurrentExtension() to register a dependency - * on the current pg_extension object for each SQL object created by its - * installation script. + * creating_extension is only true while running a CREATE EXTENSION or ALTER + * EXTENSION UPDATE command. It instructs recordDependencyOnCurrentExtension() + * to register a dependency on the current pg_extension object for each SQL + * object created by an extension script. It also instructs performDeletion() + * to remove such dependencies without following them, so that extension + * scripts can drop member objects without having to explicitly dissociate + * them from the extension first. */ extern PGDLLIMPORT bool creating_extension; extern Oid CurrentExtensionObject; |