| From: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Partitioned tables and relfilenode |
| Date: | 2017-03-03 01:02:11 |
| Message-ID: | 04e417c8-cd7a-9ed5-e41e-677056b5e9c9@lab.ntt.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2017/03/02 21:48, Robert Haas wrote:
> On Thu, Mar 2, 2017 at 3:52 PM, Amit Langote
> <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> wrote:
>>> think we should omit this logic (and change the documentation to
>>> match). That is, a database-wide ANALYZE should update the statistics
>>> for each child as well as for the parent. Otherwise direct queries
>>> against the children (and partitionwise joins, once we have that) are
>>> going to go haywire.
>>
>> OK, done. I updated both analyze.sgml and vacuum.sgml to be more up to
>> date. Both pages previously omitted materialized views.
>>
>> Attached updated patches.
>
> Thanks, committed 0001 with a slight change to the wording.
Thanks. I noticed that 'and' is duplicated in a line added by the commit
to analyze.sgml. Attached 0001 fixes that. 0002 and 0003 same as the
last version.
Thanks,
Amit
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fix-duplicated-and-in-analyze.sgml.patch | text/x-diff | 1.1 KB |
| 0002-Avoid-creating-scan-nodes-for-partitioned-tables.patch | text/x-diff | 21.1 KB |
| 0003-Do-not-allocate-storage-for-partitioned-tables.patch | text/x-diff | 3.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neha Khatri | 2017-03-03 02:27:02 | Re: [PATCH] SortSupport for macaddr type |
| Previous Message | Petr Jelinek | 2017-03-03 00:54:50 | Re: snapbuild woes |