org.cloudhoist:postgres

Pallet - parent pom

License

License

GroupId

GroupId

org.cloudhoist
ArtifactId

ArtifactId

postgres
Last Version

Last Version

0.7.0-beta.2
Release Date

Release Date

Type

Type

jar
Description

Description

Pallet - parent pom
Source Code Management

Source Code Management

https://github.com/pallet/postgres-crate

Download postgres

How to add to project

<!-- https://jarcasting.com/artifacts/org.cloudhoist/postgres/ -->
<dependency>
    <groupId>org.cloudhoist</groupId>
    <artifactId>postgres</artifactId>
    <version>0.7.0-beta.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.cloudhoist/postgres/
implementation 'org.cloudhoist:postgres:0.7.0-beta.2'
// https://jarcasting.com/artifacts/org.cloudhoist/postgres/
implementation ("org.cloudhoist:postgres:0.7.0-beta.2")
'org.cloudhoist:postgres:jar:0.7.0-beta.2'
<dependency org="org.cloudhoist" name="postgres" rev="0.7.0-beta.2">
  <artifact name="postgres" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.cloudhoist', module='postgres', version='0.7.0-beta.2')
)
libraryDependencies += "org.cloudhoist" % "postgres" % "0.7.0-beta.2"
[org.cloudhoist/postgres "0.7.0-beta.2"]

Dependencies

compile (2)

Group / Artifact Type Version
org.clojure : clojure jar 1.2.1
org.cloudhoist : pallet jar 0.7.1

test (1)

Group / Artifact Type Version
org.cloudhoist : pallet-crates-test jar 0.7.1

Project Modules

There are no modules declared in this project.

Pallet crate for postgres

This a crate to install and run postgres via Pallet.

Release Notes

Server Spec

The postgres crate defines the postgres function, that takes a settings map and returns a server-spec for installing postgres.

Settings

The postgres crate uses the following settings:

  • :version a string to specify the point version of PostgreSQL (e.g., "9.1"). The default is the version provided by the system's packaging system

  • :components a set of one or more recognized keywords. The set of every component is #{:server :libs :client}.

  • :strategy allows override of the install strategy (:packages, :package-source, or :rpm)

  • :packages the packages that are used to install

  • :package-source a non-default package source for the packages

  • :rpm takes a map of remote-file options specifying an RPM file to install

  • :default-cluster-name name of the default cluster created by the installer

  • :bin path to binaries

  • :owner unix owner for Postgres files

  • :postgresql_file path to postgresql.conf

  • :has-pg-wrapper boolean flag for availability of a wrapper allowing command execution against a specified cluster.

  • :has-multicluster-service boolean flag specifying whether the init service is multi-cluster capable.

  • :initdb-via whether to use the initdb (:initdb), or service (:service) to run initdb

  • :options A map of options:

    • :data_directory path to storage location
    • :hba_file path to pg_hba.conf location
    • :ident_file path to pg_ident.conf location
    • :external_pid_file path to pid file
    • :unix_socket_directory path to directory for unix sockets

Support

On the group, or #pallet on freenode irc.

License

Licensed under EPL

Copyright 2010, 2011, 2012 Hugo Duncan.

org.cloudhoist

pallet

Versions

Version
0.7.0-beta.2
0.7.0-beta.1
0.6.2
0.6.1
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.4.0-beta-1