2011-06-17 07:31:39 +00:00
|
|
|
cdist-type__postgres_database(7)
|
|
|
|
================================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__postgres_database - Create/drop postgres databases
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This cdist type allows you to create or drop postgres databases.
|
|
|
|
|
|
|
|
|
2013-06-17 16:10:19 +00:00
|
|
|
OPTIONAL PARAMETERS
|
2011-06-17 07:31:39 +00:00
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2020-04-06 07:26:52 +00:00
|
|
|
Either 'present' or 'absent', defaults to 'present'.
|
2011-06-17 07:31:39 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
owner
|
2020-04-06 07:26:52 +00:00
|
|
|
Specifies the database user who will own the new database.
|
2011-06-17 07:31:39 +00:00
|
|
|
|
2020-04-06 07:26:52 +00:00
|
|
|
encoding
|
|
|
|
Specifies the character encoding scheme to be used in this database.
|
|
|
|
|
|
|
|
lc-collate
|
|
|
|
Specifies the LC_COLLATE setting to be used in this database.
|
|
|
|
|
|
|
|
lc-ctype
|
|
|
|
Specifies the LC_CTYPE setting to be used in this database.
|
2011-06-17 07:31:39 +00:00
|
|
|
|
2020-04-14 08:23:08 +00:00
|
|
|
template
|
|
|
|
Specifies the template database from which to build this database.
|
|
|
|
|
|
|
|
|
2011-06-17 07:31:39 +00:00
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
__postgres_database mydbname --owner mydbusername
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 13:12:32 +00:00
|
|
|
:strong:`cdist-type__postgres_role`\ (7)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Steven Armstrong <steven-cdist--@--armstrong.cc>
|
2011-06-17 07:31:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2016-08-10 16:15:54 +00:00
|
|
|
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.
|