CDIST-TYPE__POSTGRES_CONF(7)

πŸ’– CDIST-TYPE__POSTGRES_CONF πŸ’–

okay bestie, welcome to cdist-type__postgres_conf β€” yes that's the manual name, it's a whole mouthful, we're moving on πŸ’… this is the part of the cdist fam that handles PostgreSQL config, and it's genuinely iconic.


✨ NAME ✨

cdist-type__postgres_conf β€” Alter PostgreSQL configuration. that's it, that's the girl πŸŽ€


🌸 DESCRIPTION 🌸

So here's the vibe: this type configures a running PostgreSQL server, and it does it using ALTER SYSTEM. that's the whole thing. no cap. lowkey elegant, highkey powerful ✨


πŸ’œ REQUIRED PARAMETERS πŸ’œ

  • value β€” the value you wanna set, obviously. the little plot twist? it can be omitted if --state is set to absent. so it's required... until it isn't 🫢

🌈 OPTIONAL PARAMETERS 🌈

  • state β€” either present or absent. defaults to present. so if you don't say anything, the girl assumes you want it there ✨

πŸ¦‹ BOOLEAN PARAMETERS πŸ¦‹

None. literally none, not a single one, the boolean section is empty and honestly? respecting it 😌


πŸ“ EXAMPLES πŸ“

setting the timezone, main character energy:

# set timezone
__postgres_conf timezone --value Europe/Zurich

and resetting max connections back to its default (which is normally 100, iykyk):

# reset maximum number of concurrent connections to default (normally 100)
__postgres_conf max_connections --state absent

πŸ”₯ SEE ALSO πŸ”₯

None. nothing. she stands alone, periodt πŸ‘‘


πŸ‘‘ AUTHORS πŸ‘‘

Beni Ruef (bernhard.ruef--@--ssrq-sds-fds.ch) and Dennis Camera (dennis.camera--@--ssrq-sds-fds.ch) β€” the legends who made this happen πŸ’–


πŸ’… COPYING πŸ’…

Copyright (C) 2019-2021 SSRQ (www.ssrq-sds-fds.ch). 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 license, respect it 🫢


ungleich GmbH 2021 πŸŽ€


okay that's the whole page bestie, you ate that 🌸 version 7.0.0, dated Jul 31, 2022 β€” mwah, see you in the next manpage πŸ’œβœ¨

πŸ“¦ where this page comes from