Extensions
- dbtoyaml 0.7.3
- Output PostgreSQL schemas in YAML format
- yamltodb 0.7.3
- Generate SQL to sync a database with a YAML schema spec
Documentation
- cfgobjects
- Augmenter Configuration Objects
- function
- Functions
- constraint
- Constraints
- dbconn
- Database Connections
- extension
- Extensions
- augmentdb
- Augmenter Databases
- testing
- Testing
- cast
- Casts
- devel
- Development
- operator
- Operators
- cmdargs
- Common Command Line Options
- overview
- Overview
- configitems
- Configuration Items
- foreign
- Foreign Data Objects
- issues
- Known Issues
- augobjects
- Augmentation Objects
- schema
- Schemas
- dbaugment
- dbaugment - Augment a database
- indexes
- Indexes
- conversion
- Conversions
- dbobject
- Database Objects
- database
- Databases
- operclass
- Operator Classes
- collation
- Collations
- rule
- Rules
- type
- Types and Domains
- eventtrig
- Event Triggers
- predefaug
- Predefined Database Augmentations
- trigger
- Triggers
- textsearch
- Text Search Objects
- language
- Procedural Languages
- config
- Configuration
- index
- PyrseasIndices and tables
- AUTHORS
- AUTHORS
- install
- Installation
- column
- Columns
- table
- Tables, Views and Sequences
- operfamily
- Operator Families
- Changelog
- Changelog
README
Contents
Pyrseas
Pyrseas provides utilities to compare the schema of a Postgres database against another, either a previously stored version or from a different database, and to synchronize the schemas.
Features
- Outputs a YAML description of a PostgreSQL database's tables and other objects (metadata), suitable for storing in a version control repository
- Generates SQL statements to modify a database so that it will match an input YAML/JSON specification
Requirements
- PostgreSQL 9.2 or higher
- Python 2.7 or higher
License
Pyrseas is free (libre) software and is distributed under the BSD license. Please see the LICENSE file for details.