postgresql-maven-plugin icon indicating copy to clipboard operation
postgresql-maven-plugin copied to clipboard

A Maven plugin for doing things with a PostgreSQL database, like starting, stopping, initializing a DB, etc.

Results 7 postgresql-maven-plugin issues
Sort by recently updated
recently updated
newest added

is there a way to run an sql script on pre-integration-test? or on post-integration-test?

question

@adrianboimvaser I am trying to start the DB but no luck. Please Help! The same error happens in the integration test within this project: [INFO] --- maven-invoker-plugin:1.7:integration-test (integration-test) @ postgresql-maven-plugin...

bug
enhancement

When starting PG on a busy port, starting process hangs definitely. ``` com.github.adrianboimvaser postgresql-maven-plugin 0.11 ${project.build.directory}/pgsql ${project.build.directory}/data ${postgresql.port} false ${database.name} ${postgresql.user} ${postgresql.password} UTF8 initdb-postgresql pre-integration-test initdb start-postgresql pre-integration-test start all...

enhancement

In case postgres process `[/target/pgsql/bin/postgres, -D, /target/data]` terminates abnormally during startup (`postgres cannot access the server configuration file "/target/data/postgresql.conf": No such file or directory`) StartMojo falls into infinite loop and...

... Also the option to use "pg_ctl" command instead of "postgres" was added, because "pg_ctl" is allowed to start PostgreSQL under admin account.

More of a question than an bug, but does the init db, drop any existing databases? Is there a drop db equivalent. I see there is a create database goal.

enhancement