2014-09-09 13:42:30 +00:00
|
|
|
cdist-type__postgres_extension(7)
|
|
|
|
=================================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__postgres_extension - manage postgres extensions
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
This cdist type allows you to create or drop postgres extensions.
|
|
|
|
|
|
|
|
The object you need to pass to __postgres_extension consists of
|
|
|
|
the database name and the extension name joined by a colon in the
|
|
|
|
following form:
|
|
|
|
|
2017-03-08 18:16:23 +00:00
|
|
|
.. code-block:: sh
|
2016-12-01 08:27:56 +00:00
|
|
|
|
2014-09-09 13:42:30 +00:00
|
|
|
dbname:extension
|
|
|
|
|
|
|
|
f.ex.
|
|
|
|
|
2017-03-08 18:16:23 +00:00
|
|
|
.. code-block:: sh
|
2016-12-01 08:27:56 +00:00
|
|
|
|
2014-09-09 13:42:30 +00:00
|
|
|
rails_test:unaccent
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-12-01 08:27:56 +00:00
|
|
|
state
|
|
|
|
either "present" or "absent", defaults to "present"
|
2014-09-09 13:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-12-01 08:27:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
__postgres_extension rails_test:unaccent
|
|
|
|
__postgres_extension --present rails_test:unaccent
|
|
|
|
__postgres_extension --absent rails_test:unaccent
|
2014-09-09 13:42:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-12-01 08:50:05 +00:00
|
|
|
:strong:`cdist-type__postgre_database`\ (7)
|
2016-12-01 08:27:56 +00:00
|
|
|
|
|
|
|
Postgres "Create Extension" documentation at: <http://www.postgresql.org/docs/current/static/sql-createextension.html>.
|
2014-09-09 13:42:30 +00:00
|
|
|
|
2016-12-01 08:27:56 +00:00
|
|
|
AUTHOR
|
|
|
|
-------
|
|
|
|
Tomas Pospisek <tpo_deb--@--sourcepole.ch>
|
2014-09-09 13:42:30 +00:00
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2016-12-01 08:50:05 +00:00
|
|
|
Copyright \(C) 2014 Tomas Pospisek. 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.
|