Regression in postgresql create views caused by https://liquibase.jira.com/browse/CORE-2377

Description

https://liquibase.jira.com/browse/CORE-2377 causes a regression with postgres that I can’t resolve without have to edit old changelogs already. Anyway of overriding this new behavior for postgres and get back to where replaceIfExists="true" drops the view first as before.

With this fix I get a lots of errors like

ERROR: cannot change name of view column "embedded_id_detail" to "name_id" [Failed SQL: (0) CREATE OR REPLACE VIEW public.view_riksdagen_goverment

Basically any place where I change name of view columns in createView and use replaceIfExists="true", using replaceIfExists="false" breaks because view already exist.

Environment

Issue with liquibase version 3.7.0 and 3.8.0

Status

Assignee

Unassigned

Reporter

pether sorling

Labels

None

Components

Affects versions

3.8.0
3.7.0

Priority

Major