Charm: postgresql
Summary
object-relational SQL database (supported version)
Charm Store
juju deploy cs:~hazmat/precise/postgresql-2
Owner
hazmat
Series
precise
Description
PostgreSQL is a fully featured object-relational database management system. It supports a large part of the SQL standard and is designed to be extensible by users in many aspects. Some of the features are: ACID transactions, foreign keys, views, sequences, subqueries, triggers, user-defined types and functions, outer joins, multiversion concurrency control. Graphical user interfaces and bindings for many programming languages are available as well.
Links
Repository   Bugs
lp:~hazmat/charms/precise/postgresql/trunk
Interfaces
Provides
Readme
# Postgresql Service


## During db-relation-joined,


### the postgresql service provides:

- `host`
- `user`
- `database`
- `password`

### and requires

- `ip`: deprecated way to specify the client ip address to enable
        access from. This is no longer necessary, you can rely on the
        implicit 'private-address' relation component.

Here's an example client hook providing that

    #!/bin/sh
    relation-set ip=`unit-get private-address`


## During db-relation-changed,

### provides

### accepts

- `ip`: the client ip address to enable access

Changes  
2012/05/24 kapil.thangavelu@canonical.com inc rev (revno 25)
2012/05/24 kapil.thangavelu@canonical.com fix missing } (revno 24)
2012/05/24 kapil.thangavelu@canonical.com fix copy and paste errors (revno 23)
2012/05/24 kapil.thangavelu@canonical.com fix access grants to joined so its actually usable (revno 22)
2012/05/03 Thomas Hervé Fix pg_hba changes for postgres 9 (revno 21)
2012/01/19 Diogo Matsubara remove /0 notation from db-relation-changed hook to avoid postgresql error (revno 20)
2011/11/22 Mark Mims swap _all_ instances of - in names (revno 19)
2011/11/21 kapil.thangavelu@canonical.com escape dashes in db names (revno 18)
2011/11/18 Mark Mims use unit-get private-address instead of hostname (revno 17)
Lint Check
  • err: Charms need a maintainer (See RFC2822) - Name <email>

In other archives
~therve:precise/postgresql
Newer precise/postgresql
Newer ~tal-it-innovation:precise/postgresql
Newer ~alexlist:precise/postgresql
Newer ~sidnei:precise/postgresql