From: | Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Maksim Milyutin <m(dot)milyutin(at)postgrespro(dot)ru>, Amit Langote <amitlangote09(at)gmail(dot)com> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Partitioned tables and relfilenode |
Date: | 2017-03-28 00:59:30 |
Message-ID: | 467f1b53-da9d-50e2-ab5b-b0e389b72b57@lab.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2017/03/28 0:13, Maksim Milyutin wrote:
> On 24.03.2017 03:54, Amit Langote wrote:
>>
>> And here is the updated patch.
>>
>
> Perhaps you forgot my fix in the updated patch
>
> diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c
> index 3999e6e..36917c8 100644
> --- a/src/backend/catalog/heap.c
> +++ b/src/backend/catalog/heap.c
> @@ -1823,7 +1823,8 @@ heap_drop_with_catalog(Oid relid)
> */
> if (rel->rd_rel->relkind != RELKIND_VIEW &&
> rel->rd_rel->relkind != RELKIND_COMPOSITE_TYPE &&
> - rel->rd_rel->relkind != RELKIND_FOREIGN_TABLE)
> + rel->rd_rel->relkind != RELKIND_FOREIGN_TABLE &&
> + rel->rd_rel->relkind != RELKIND_PARTITIONED_TABLE)
> {
> RelationDropStorage(rel);
> }
Oops, my bad. I will include it in the patch I'll send after addressing
Robert's comments. Thanks again!
Regards,
Amit
From | Date | Subject | |
---|---|---|---|
Next Message | Ashutosh Sharma | 2017-03-28 01:02:38 | Re: segfault in hot standby for hash indexes |
Previous Message | Tom Lane | 2017-03-28 00:58:53 | Re: [COMMITTERS] pgsql: Clean up Perl code according to perlcritic |