logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__postgres_database - Create/drop postgres databases

Authors

       Steven Armstrong <steven-cdist--@--armstrong.cc>

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.

Description

       This cdist type allows you to create or drop postgres databases.

Examples

          __postgres_database mydbname --owner mydbusername

Name

       cdist-type__postgres_database - Create/drop postgres databases

Optional Parameters

state  Either 'present' or 'absent', defaults to 'present'.

       owner  Specifies the database user who will own the new database.

       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.

       template
              Specifies the template database from which to build this database.

See Also

cdist-type__postgres_role(7)

See Also