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

Started by 周志勤almost 2 years ago3 messagesbugs
Jump to latest
#1周志勤
joe.zhou@dualhelios.com

Loop in pgsql-bugs-owner.

joe.zhou@dualhelios.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.zhou@dualhelios.com

#2Kashif Zeeshan
kashi.zeeshan@gmail.com
In reply to: 周志勤 (#1)
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.zhou@dualhelios.com> wrote:

Show quoted text

Loop in pgsql-bugs-owner.

------------------------------
joe.zhou@dualhelios.com

*发件人:* 周志勤 <joe.zhou@dualhelios.com>
*发送时间:* 2024-05-14 15:45
*收件人:* pgsql-bugs <pgsql-bugs@postgresql.org>
*主题:* 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.zhou@dualhelios.com

#3周志勤
joe.zhou@dualhelios.com
In reply to: 周志勤 (#1)
Re: Re: Clarification needed: create partition table can be in another schema other than that of the parent table

Thanks, Kashif!

joe.zhou@dualhelios.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.zhou@dualhelios.com> wrote:
Loop in pgsql-bugs-owner.

joe.zhou@dualhelios.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.zhou@dualhelios.com