Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Exporting data from pg_catalog (PostgreSQL)

$
0
0
I'm using liquibase command line and I'm trying to export data from the pg_catalog schema. The command I'm using is 
  1. liquibase/liquibase --driver=org.postgresql.Driver --classpath=/usr/share/java/postgresql.jar --url="jdbc:postgresql://localhost:5432/dbtest?currentSchema=pg_catalog" --changeLogFile=changelog.json --username=postgres --password=postgres --diffTypes=data --includeObjects=pg_policies --liquibaseSchemaName=public --defaultSchemaName=pg_catalog generateChangeLog

The pg_policies table is not empty, but this command outputs to changelog.json the following json object:
  1. { "databaseChangeLog": [
  2. ]}
How can I accomplish this?


Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>