Pyrseas provides a framework and utilities to upgrade and maintain a relational database. It currently includes the dbtoyaml utility to create a YAML description of a PostgreSQL database's tables, and the yamltodb utility to generate SQL statements to modify a database to match an input YAML specification. It also aims to develop data administration tools to supplement an agile database development process.
|Tags||Database Database development Version Control postgresql Python package|
|Operating Systems||Any OS|
|Implementation||Postgresql 8.x Python 2.6|
Release Notes: This is a maintenance release. It adds support for INSTEAD OF triggers on views; eliminates yamltodb generation of spurious REVOKE/GRANT commands; and removes setuptools from setup.py install_requires.
Release Notes: This release supports the following additional DDL features: EXTENSIONs, COLLATIONs, OWNER information, access privileges (GRANT and REVOKE), TABLESPACEs for tables, primary keys and indexes, MATCH attributes for foreign keys, ALTER composite TYPE ADD/DROP/RENAME ATTRIBUTE, ENUMs with no labels, UNLOGGED tables, and the CREATE FUNCTION SET configuration_parameter. It also support PostgreSQL 9.2.
Release Notes: This release supports the following additional DDL features: TEXTSEARCH parsers, dictionaries, configurations, and templates; FOREIGN DATA WRAPPERs, SERVERs, USER MAPPINGs, and FOREIGN TABLEs; a ROWS clause in set-returning functions; deferrable/deferred constraints; CATEGORY and PREFERRED clauses for TYPEs; a SORTOP clause for AGGREGATEs; HASHES and MERGES clauses for OPERATORs; and operator class qualifiers for INDEXes.
Release Notes: This is a maintenance release. The initial SET search_path is persistent. Exclusion of PG internal schemas in various queries has been fixed. Generation of COMMENTs with single quotes in the text has been fixed. For inherited tables, this release will only generate constraints that are defined locally. Generation of ALTER TABLE ADD/DROP COLUMN when input columns are in a different order than the original has been corrected (issue #8). Support has been added for PG 9.1 (a description for the PL/pgSQL language has been added).
Release Notes: Pyrseas now supports the following additional DDL features: CASTs, CONSTRAINT TRIGGERs. CONVERSIONs, dynamically loaded C language functions, OPERATORs, OPERATOR CLASSes and OPERATOR FAMILies, and composite and base TYPEs. Other changes include a cleanup and enhancement of the documentation, removal of redundant methods, and the use of obj_description/col_description functions instead of querying pg_description directly.