# Liquibase with EDB PostgreSQL

**URL:** <https://forum.liquibase.org/t/liquibase-with-edb-postgresql/3509>\
**Category:** General Discussion\
**Created:** [April 20, 2017, 11:24pm UTC](https://forum.liquibase.org/t/liquibase-with-edb-postgresql/3509 "2017-04-20T23:24:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOPIKRISHNAN](https://avatars.discourse-cdn.com/v4/letter/g/41988e/32.png) [@GOPIKRISHNAN](https://forum.liquibase.org/u/GOPIKRISHNAN)\
**Post date:** [April 20, 2017, 11:24pm UTC](https://forum.liquibase.org/t/liquibase-with-edb-postgresql/3509/1 "2017-04-20T23:24:00Z")

</div>

Hi All,

I'm doing a POC on Liquibase and EDB Postgresql. I'm getting following error when I try to deploy the changes 2nd time. I have to drop the log tables to continue deployment.

I enabled audit and found that Liquibase is trying to get the log table details and if not exists it is trying to create new tables.

In EDB postgres - tables are stored in&nbsp;LOWERCASE in metadata table - pg\_class - where the Liquibase is checking for the log tables in UPPERCASE. I checked with EDB team , there is no configuration to change all tables to UPPERCASE..

Appreciate if you share any work around for this issue.

Here's the details-

liquibasedb=# select \* from DATABASECHANGELOG;

id&nbsp; |&nbsp;&nbsp; author&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; filename&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dateexecuted&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | orderexecuted | exectype |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; md5sum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | description | comments | tag | liquibase | contexts | labels | deployment\_id

raw | includeAll | changeset2.sql | 20-APR-17 06:04:07.836 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 | EXECUTED | 7:20ea501c3e0062fc5ef2047b7ec53890 | sql&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; | 3.5.3&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 2693447821

(1 row)

liquibasedb=# select \* from pg\_class where relname='DATABASECHANGELOG';

relname | relnamespace | reltype | reloftype | relowner | relam | relfilenode | reltablespace | relpages | reltuples | relallvisible | reltoastrelid | relhasindex | relisshared | relpersistence | relkind | relnatts | relchecks | relhasoids | relhaspkey | relhasrules | relhastriggers | relhassubclass | relrowsecurity | relforcerowsecurity | relispopulated | relreplident | relfrozenxid | relminmxid | relacl | reloptions

(0 rows)

liquibasedb=# select \* from pg\_class where relname='databasechangelog';

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; relname&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | relnamespace | reltype | reloftype | relowner | relam | relfilenode | reltablespace | relpages | reltuples | relallvisible | reltoastrelid | relhasindex | relisshared | relpersistence | relkind | relnatts | relchecks | relhasoids | relhaspkey | relhasrules | relhastriggers | relhassubclass | relrowsecurity | relforcerowsecurity | relispopulated | relreplident | relfrozenxid | relminmxid | relacl | reloptions

|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2200 |&nbsp;&nbsp; 16743 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 |&nbsp;&nbsp;&nbsp;&nbsp; 0 |&nbsp;&nb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