1CDIST-TYPE__POSTGRES_EXTENSION(7)    cdist   CDIST-TYPE__POSTGRES_EXTENSION(7)
2
3
4

NAME

6       cdist-type__postgres_extension - Manage PostgreSQL extensions
7

DESCRIPTION

9       This cdist type allows you to manage PostgreSQL extensions.
10
11       The  __object_id  to  pass  to  __postgres_extension is of the form db‐
12       name:extension, e.g.:
13
14          rails_test:unaccent
15
16       CAUTION!  Be  careful  when  installing  extensions  from   (untrusted)
17       third-party sources:
18          Installing an extension as superuser requires trusting that the extension's
19          author wrote the extension installation script in a secure fashion. It is
20          not terribly difficult for a malicious user to create trojan-horse objects
21          that will compromise later execution of a carelessly-written extension
22          script, allowing that user to acquire superuser privileges.
23https://www.postgresql.org/docs/13/sql-createextension.html#id-1.9.3.64.7
24
25

OPTIONAL PARAMETERS

27       state  either present or absent, defaults to present.
28

EXAMPLES

30          # Install extension unaccent into database rails_test
31          __postgres_extension rails_test:unaccent
32
33          # Drop extension unaccent from database fails_test
34          __postgres_extension rails_test:unaccent --state absent
35

SEE ALSO

37cdist-type__postgres_database(7)
38
39       • PostgreSQL       "CREATE       EXTENSION"      documentation      at:
40         http://www.postgresql.org/docs/current/static/sql-createextension.html.
41

AUTHORS

43       Tomas Pospisek <tpo_deb--@--sourcepole.ch>
44       Dennis Camera <dennis.camera--@--ssrq-sds-fds.ch>
45
46

COPYING

48       Copyright  (C) 2014 Tomas Pospisek, 2021 Dennis Camera.  You can redis‐
49       tribute it and/or modify it under the terms of the GNU  General  Public
50       License  as published by the Free Software Foundation, either version 3
51       of the License, or (at your option) any later version.
52
54       ungleich GmbH 2021
55
56
57
58
597.0.0                            Jul 31, 2022CDIST-TYPE__POSTGRES_EXTENSION(7)
Impressum