Re: Re: Clarification needed: create partition table can be in another schema other than that of the parent table

From: 周志勤 <joe(dot)zhou(at)dualhelios(dot)com>
To: "Kashif Zeeshan" <kashi(dot)zeeshan(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, pgsql-bugs-owner <pgsql-bugs-owner(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: Clarification needed: create partition table can be in another schema other than that of the parent table
Date: 2024-05-14 08:09:24
Message-ID: A0D7F72EA5D36351+2024051416082312934312@dualhelios.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks, Kashif!

joe(dot)zhou(at)dualhelios(dot)com

From: Kashif Zeeshan
Date: 2024-05-14 15:59
To: 周志勤
CC: pgsql-bugs; pgsql-bugs-owner
Subject: Re: Clarification needed: create partition table can be in another schema other than that of the parent table
Hi

It's not a bug.

Regards
Kashif Zeeshan
Bitnine Global

On Tue, May 14, 2024 at 12:50 PM 周志勤 <joe(dot)zhou(at)dualhelios(dot)com> wrote:
Loop in pgsql-bugs-owner.

joe(dot)zhou(at)dualhelios(dot)com

发件人: 周志勤
发送时间: 2024-05-14 15:45
收件人: pgsql-bugs
主题: Clarification needed: create partition table can be in another schema other than that of the parent table
Hi Pgsql bugs,

I have the following scenario:

ptable sits in schema:BBB

create table AAA.ptable18250w partition of BBB.ptable for values from (180000000) to (182500000);

Now the ptable has a partition table: ptable18250w sits in schema AAA.

Is this what we intent to do or an issue? as we do a sql search under schema BBB, we will never find this table,which causes a lot of confusion for me.

Looking forward to your reply.

Thanks and best regards,
Joe

joe(dot)zhou(at)dualhelios(dot)com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tender Wang 2024-05-14 09:22:08 Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
Previous Message 周志勤 2024-05-14 08:08:42 Re: Re: Clarification needed: create partition table can be in another schema other than that of the parent table