An open API service indexing awesome lists of open source software.

https://github.com/liquibase/liquibase-postgresql

Liquibase Postgres Extension
https://github.com/liquibase/liquibase-postgresql

core extension oss

Last synced: 6 months ago
JSON representation

Liquibase Postgres Extension

Awesome Lists containing this project

README

          

# Liquibase Postgresql Extension [![Build](https://github.com/liquibase/liquibase-postgresql/actions/workflows/build.yml/badge.svg)](https://github.com/liquibase/liquibase-postgresql/actions/workflows/build.yml)

The vacuum extension adds an additional changelog tag/command to support vacuuming. As of version 1.0, it only supports database-level vacuuming. Future versions will include table-level config as well as support for controlling vacuum options.

**Note:** vacuum cannot run in a transaction, so specify `runInTransaction="false"` in the containing changeset.

There is currently no dedicated .xsd file using an XML-based changelog. Therefore, use the standard extension xsd of http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd.

## Available Commands/Tags

``

Vacuums PostgreSQL database.

## Configuring the extension

These instructions will help you get the extension up and running on your local machine for development and testing purposes. This extension has a prerequisite of Liquibase core in order to use it. Liquibase core can be found at https://www.liquibase.org/download.

### Liquibase CLI

Download [the latest released Liquibase extension](https://github.com/liquibase/liquibase-postgresql/issues) `.jar` file and place it in the `liquibase/lib` install directory. If you want to use another location, specify the extension `.jar` file in the `classpath` of your [liquibase.properties file](https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html).

### Maven
Specify the Liquibase extension in the `` section of your POM file by adding the `org.liquibase.ext` dependency for the Liquibase plugin.

```


org.liquibase
liquibase-maven-plugin
4.3.2


liquibase.properties




org.liquibase.ext
liquibase-postgresql
${liquibase-postgresql.version}



```

## Example

```xml



```

## Contribution

To file a bug, improve documentation, or contribute code, follow our [guidelines for contributing](https://www.liquibase.org/community).

[This step-by-step instructions](https://www.liquibase.org/community/contribute/code) will help you contribute code for the extension.

Once you have created a PR for this extension you can find the artifact for your build using the following link: [https://github.com/liquibase/liquibase-postgresql/actions/workflows/build.yml](https://github.com/liquibase/liquibase-postgresql/actions/workflows/build.yml).

## Documentation

[Using Liquibase with PostgreSQL on Windows](https://docs.liquibase.com/workflows/database-setup-tutorials/postgresql.html)

## Issue Tracking

Any issues can be logged in the [Github issue tracker](https://github.com/liquibase/liquibase-postgresql/issues).

## License

This project is licensed under the [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.html).