Hi
I am running a
Postgress Server (EnterpirseDB 9.3.1.3 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52), 64-bit)
I am using Liquibase version 3.1.1
Within the database "Demo_034PWL", I have has 4 schemas:
- "PWL00_COMMON"
- "PWL00_SECURITY"
- "PWL01_PMI"
- "PWL00_HISTO"
The User "PWLDemo" has a Search path of "PWL00_SECURITY", "PWL00_COMMON", "PWL01_PMI", "PWL02_HISTO"
I am invoking the liquidbase with the following parameters:
/home/liquibaseuser/liquibase_install/liquibase/liquibase --driver=org.postgresql.Driver \
--classpath=/home/liquibaseuser/postgresql_jdbc_driver/postgresql-9.3-1101.jdbc4.jar \
--changeLogFile=/home/liquibaseuser/changlog_pg_034.xml \
--url="jdbc:postgresql://{SERVER DOMAIN NAME}:5444/Demo_034PWL" \
--username=PWLDemo \
--password={userpassword} \
--defaultSchemaName=% \
--logLevel=debug \
--logFile=/home/liquibaseuser/log_generateChangeLog_034.log \
generateChangeLog
$more log_generateChangeLog_034.log:
DEBUG 19/03/14 11:21 AM:liquibase: Connected to PWLDemo@jdbc:postgresql://{SERVER DOMAIN NAME}:5444/Demo_034PWL
DEBUG 19/03/14 11:21 AM:liquibase: Setting auto commit to false from true
INFO 19/03/14 11:21 AM:liquibase: /home/liquibaseuser/changlog_pg_034.xml does not exist, creating
DEBUG 19/03/14 11:21 AM:liquibase: MissingObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.Schema liquibase.structure.cor
e.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibase.structure.core.PrimaryKey liquibas
e.structure.core.ForeignKey liquibase.structure.core.UniqueConstraint liquibase.structure.core.Index liquibase.structure.core.View
DEBUG 19/03/14 11:21 AM:liquibase: UnexpectedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.struct
ure.core.Schema liquibase.structure.core.StoredProcedure liquibase.structure.core.UniqueConstraint liquibase.structure.core.View liquibase.structure.core.Table
liquibase.structure.core.PrimaryKey liquibase.structure.core.Column liquibase.structure.core.Index liquibase.structure.core.Sequence
DEBUG 19/03/14 11:21 AM:liquibase: ChangedObjectChangeGenerator type order: liquibase.structure.core.Catalog liquibase.structure.core.ForeignKey liquibase.structure
.core.Schema liquibase.structure.core.Sequence liquibase.structure.core.StoredProcedure liquibase.structure.core.Table liquibase.structure.core.Column liquibas
e.structure.core.PrimaryKey liquibase.structure.core.Index liquibase.structure.core.UniqueConstraint liquibase.structure.core.View
]$ more changlog_pg_034.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/
ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd"/>
Please can anyone make a suggestion why the liquibase is not generating a changelog file.