CDIST-TYPE__POSTGRES_EXTENSION(7)
π cdist-type__postgres_extension β the manual page, but make it cute
okay bestie, welcome to cdist-type__postgres_extension(7), a page from the cdist manual set. it's giving "database admin but make it fashion" and honestly? obsessed. π
β¨ NAME β¨
cdist-type__postgres_extension β manage PostgreSQL extensions πβ¨
πΈ DESCRIPTION πΈ
This cdist type lets you manage PostgreSQL extensions. that's it, that's the whole vibe. you want an extension in a database? handled. you want it gone? also handled. queen behavior. π
The __object_id you pass to __postgres_extension is of the form dbname:extension, e.g.:
rails_test:unaccent
so like, database name, colon, extension name. no cap. π
β οΈ CAUTION! Be careful when installing extensions from (untrusted) third-party sources: Installing an extension as superuser requires trusting that the extension's author wrote the extension installation script in a secure fashion. It is not terribly difficult for a malicious user to create trojan-horse objects that will compromise later execution of a carelessly-written extension script, allowing that user to acquire superuser privileges. β https://www.postgresql.org/docs/13/sql-createextension.html#id-1.9.3.64.7
fr fr, this part is not a drill. untrusted extension = untrusted script running as superuser. read that twice. π do not skip this.
π¦ OPTIONAL PARAMETERS π¦
stateβ eitherpresentorabsent, defaults topresent. that's the one and only knob, and she's iconic. β
π EXAMPLES π
# Install extension unaccent into database rails_test
__postgres_extension rails_test:unaccent
# Drop extension unaccent from database fails_test
__postgres_extension rails_test:unaccent --state absent
install then uninstall, the full character arc. π«Ά
π SEE ALSO π
cdist-type__postgres_database(7)- PostgreSQL "CREATE EXTENSION" documentation at: http://www.postgresql.org/docs/current/static/sql-createextension.html.
π AUTHORS π
- Tomas Pospisek
<tpo_deb--@--sourcepole.ch> - Dennis Camera
<dennis.camera--@--ssrq-sds-fds.ch>
the legends who wrote this. respect. πββοΈ
π COPYING π
Copyright (C) 2014 Tomas Pospisek, 2021 Dennis Camera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
π COPYRIGHT π
ungleich GmbH 2021
and that's the whole page, bestie!! π this was version 7.0.0, dated Jul 31, 2022, brought to you by ungleich GmbH 2021 β thanks for reading, mwah, slay, periodt. β¨π¦πΈ
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms