Easy postgres codebase injection - aka postgres non data live reload
OTHER License
Published by oelmekki over 1 year ago
A lot of refactoring and modernization, migration to Gitlab, the adding
of a test suite as well, but the documented api did not change.
Published by oelmekki almost 8 years ago
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
Published by oelmekki almost 8 years ago
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
Published by oelmekki almost 8 years ago
This version introduces two major features.
Types are now supported, in the same fashion than functions/triggers/views.
A note of warning, though: you should not use this to manage types that you will use as columns for your tables. If you do, pgrebase will fail to drop types when trying to reload them (we don't cascade, but we don't want to inadvertently delete data). Use those types for example to return a set of given fields in your functions.
You can now declare the dependencies of your files:
-- require "my_other_function.sql"
This is very basic support: this is not about loading files or resolving paths. It will only make sure that the unit you mentioned is loading before current unit when migrating up, and drop before current unit when migrating down. You can only specify mention to the same kind of unit (that is, a function can only require an other function, a view can only require an other view, etc).
Paths for require are relative to your unit kind directory (eg: ./sql/functions/
, ./sql/triggers/
, etc).
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
Published by oelmekki almost 8 years ago
Minor changes:
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.
Published by oelmekki almost 8 years ago
This is the initial release of PgRebase.
You can download here a binary for linux/amd64.
For other architecture, please build it following steps in README.