Re: BUG #16119: pg_dump omits columns specification for matviews - Mailing list pgsql-bugs

From Gmail
Subject Re: BUG #16119: pg_dump omits columns specification for matviews
Date
Msg-id 06CC2CBF-E6A0-47A7-AFD0-90E7B1E59365@gmail.com
Whole thread Raw
In response to Re: BUG #16119: pg_dump omits columns specification for matviews  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #16119: pg_dump omits columns specification for matviews
List pgsql-bugs
Hi Tom,

Sorry for a little delay in response, there was no email access over the weekend =)
You know, everything that seems to be ugly for developer maybe 'desired' for customer and contrary in real world.

So, in our case, we're not owner or primary user of schema, only consume data that is maintained by another app and
thereis inter-team agreement that we can ONLY have views in their schema, that's a cause of such 'strange' solution. 

Thanks for a fast feedback and great job!
Just a question, will the fix be back-ported to current supported branches like 9.4/9.5/9.6 or only included in 12?

Thank you again,
Dmitry

> On Nov 16, 2019, at 5:02 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> PG Bug reporting form <noreply@postgresql.org> writes:
>> We've faced up with an issue how pg_dump exports materialzed views, it
>> doesn't export columns declaration that is legal parameter of CREATE DDL
>> instruction.
>
> I figured out what was going wrong here and pushed a fix for it.
> I'm still a bit curious about the real use-case, since a materialized
> view made from just a VALUES clause seems a bit pointless.
>
>            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16125: Crash of PostgreSQL's wal sender during logical replication
Next
From: Thushara Wijeratna
Date:
Subject: Re: BUG #16123: DST not respected for America/Sao_Paulo in`timestamp` function