makina.recipe.postgres package
================
.. contents::
What is makina.recipe.postgres ?
==================
it is a recipe that initialize a database from initdb command.
How to use makina.recipe.postgres ?
=====================
EXAMPLE (postgis init)::
parts =
...
initdb
[initdb]
recipe = makina.recipe.postgres
bin = ${buildout:directory}/parts/postgresql/bin
initdb = --auth=trust --pgdata=${buildout:directory}/var/postgres
pgdata = ${buildout:directory}/var/postgres
port = 5433
cmds =
createuser -p 5433 --createdb --no-createrole --no-superuser --login admin
createuser -p 5433 --no-createdb --no-createrole --no-superuser --login zope
createdb -p 5433 --owner admin --encoding LATIN9 zsig
createlang -p 5433 plpgsql zsig
psql -d zsig -p 5433 -f ${buildout:directory}/parts/postgis/share/lwpostgis.sql
psql -d zsig -p 5433 -f ${buildout:directory}/parts/postgis/share/spatial_ref_sys.sql
bin option can be just a sym link from the /usr/bin (where all postgresql system binaries are) if you don't want to install postgres with buildout.
Metadata
Release files for makina.recipe.postgres 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| makina.recipe.postgres-0.1.zip | 10.4 kB | Without provenance | Details for makina.recipe.postgres-0.1.zip |
Release files / makina.recipe.postgres-0.1.zip
| Download URL | makina.recipe.postgres-0.1.zip |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e528dc7cd4c4b3e1d8be716c078d7002fda42e0846a665492b9f94428ab447be
|
|
BLAKE2b-256 checksum How to use checksums |
6bbc55b057b5d75ea49887a096d445e474f961acd5d55bce0ba94535c42c6a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for makina.recipe.postgres 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.