docs: improve docs for enabling extensions(#4968)

This commit is contained in:
Yeganathan S committed 2022-02-09 14:10:58 +05:30
1 parent c3bfc2cfab
commit dcd4bf6fae
1 file changed
+4 -2
+4 -2
View File
@@ -43,8 +43,8 @@ values={[
```sql
-- Example: enable the "pgtap" extension
create extension pgtap;
-- Example: enable the "pgtap" extension and ensure it is installed
create extension pgtap with schema extensions;
-- Example: disable the "pgtap" extension
drop extension pgtap;
@@ -54,6 +54,8 @@ drop extension pgtap;
Even though the SQL code is `create extension`, this is the equivalent of "enabling the extension".
To disable an extension you can call `drop extension`.
Enabling few extensions by the SQL code `create extension <extension-name> with schema extensions` may lead to permission issues (e.g. `dblink`, `http`, `pg_cron`).
</TabItem>
</Tabs>