CDIST-TYPE__POSTGRES_DATABASE(7)
π cdist-type__postgres_database(7) π
okay bestie, welcome to the cdist manual for cdist-type__postgres_database β she's a section 7 type page, she's part of the cdist docs, and she's here to make your postgres database life so much easier. let's go π«Ά
β¨ NAME β¨
cdist-type__postgres_database β Create/drop postgres databases. that's it, that's the whole job, and she does it flawlessly π
πΈ DESCRIPTION πΈ
so this cdist type is the one you call when you want to create or drop postgres databases. no cap, that is literally the entire vibe. you point her at a database name, she handles the rest.
π OPTIONAL PARAMETERS π
all of these are optional, so you've got options (iconic of her honestly):
stateβ either'present'or'absent', and if you don't say anything she defaults to'present'. present = make it exist, absent = bye bye πownerβ tells her which database user is gonna own the new database. main character assignment fr π«Άencodingβ the character encoding scheme to be used in this database. set it, love it, keep your emoji safe π¦lc-collateβ theLC_COLLATEsetting for this database. she said collation matters β¨lc-ctypeβ theLC_CTYPEsetting for this database. character classification, but make it cute πΈtemplateβ the template database she should build this database from. copy her homework but make it official π
π¦ EXAMPLES π¦
here's the moment you've been waiting for, the actual usage:
__postgres_database mydbname --owner mydbusername
look at her go. one line, one database, one owner. obsessed π
π SEE ALSO π
cdist-type__postgres_role(7)β the sibling type, go read her too, she's also great π§
π AUTHORS π
Steven Armstrong <steven-cdist--@--armstrong.cc> β the legend who wrote this. say thank you π
π COPYING π
Copyright (C) 2011 Steven Armstrong. 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.
fr fr, that's the actual license text, don't skip it. GPLv3-or-later, bestie, respect the rules π«‘
β COPYRIGHT β
ungleich GmbH 2021
and that's a wrap, bestie π this was version 7.0.0 of the page, dated Jul 31, 2022, brought to you by the fine people at ungleich GmbH. go forth and create (or drop) databases responsibly. mwah π
β¨
π¦ 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