pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Cannot convert partitioned table to a view
Date: Fri, 7 Oct 2022 22:22:29 -0500
Message-ID: <9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com> (raw)
In-Reply-To: <CAN4RuQvoJPPb-76wS819PPD5Vh7XtFMmn-2R5VE5Nk3ruZdEAQ@mail.gmail.com>
References: <CAN4RuQt7Yp3CX583y8KR9SbqdxaNo6BmR=RwKD1o=UypgE2bng@mail.gmail.com>
	<2662605.1665064930@sss.pgh.pa.us>
	<CAN4RuQvoJPPb-76wS819PPD5Vh7XtFMmn-2R5VE5Nk3ruZdEAQ@mail.gmail.com>

On 10/7/22 15:27, Kouber Saparev wrote:
> На чт, 6.10.2022 г. в 17:02 ч. Tom Lane <tgl@sss.pgh.pa.us> написа:
>
>     That is an ancient backwards-compatibility hack that you should not
>     rely on, and most certainly shouldn't try to make use of from user
>     code.  It exists because very ancient versions of pg_dump didn't
>     know how to dump views as views.  We're more likely to rip it out
>     as no-longer-needed than to expand what it does.
>
>
> Does that mean that the ability to point remote partitions to views (on 
> the remote side) will be forbidden in the future? Currently this feature 
> is saving a lot of work (and disk-space) for us, as it allows us to 
> introduce significant changes to the partitioned tables model without the 
> need to populate these changes on all the hundreds of past partitions that 
> do exist (and that we barely read anyway, that's why they reside on a 
> remote server).

I think maybe you and Tom are talking about different things.

Why do you need rules and views, when a regular old partitioned table can 
have foreign tables in it?


-- 
Angular momentum makes the world go 'round.

view thread (8+ messages)  latest in thread

Message-ID: <9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com>
Permalink:  ../9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com/
Also on:    postgresql.org/message-id/9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Cannot convert partitioned table to a view
  In-Reply-To: <9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com>
  References: <CAN4RuQt7Yp3CX583y8KR9SbqdxaNo6BmR=RwKD1o=UypgE2bng@mail.gmail.com> <2662605.1665064930@sss.pgh.pa.us> <CAN4RuQvoJPPb-76wS819PPD5Vh7XtFMmn-2R5VE5Nk3ruZdEAQ@mail.gmail.com> <9d1e5b21-d2ac-7972-722a-32970c7678a9@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox