Re: Useless field ispartitioned in CreateStmtContext

2024-11-28 Thread Kirill Reshke
On Tue, 5 Nov 2024 at 16:51, hugo <2689496...@qq.com> wrote: > > Hi, Kirill > > Sorry for the late reply, thanks for your suggestion. > A simple fix has been added to the attached patch. > > -- > hugo > Hi! This field is actually used after 14e87ff. Just like Álvaro stated in [0] Patch status is

Re: Useless field ispartitioned in CreateStmtContext

2024-11-05 Thread Alvaro Herrera
On 2024-Nov-05, hugo wrote: > Hi, Kirill > > Sorry for the late reply, thanks for your suggestion. > A simple fix has been added to the attached patch. Actually, AFAICT my patch at https://commitfest.postgresql.org/50/5224/ adds a use of this field, so if you remove it, I might have to put it ba

Re: Useless field ispartitioned in CreateStmtContext

2024-11-05 Thread hugo
Hi, Kirill Sorry for the late reply, thanks for your suggestion. A simple fix has been added to the attached patch. -- hugo v1-0001-Remove-useless-field-ispartitioned-in-CreateStmtC.patch Description: Binary data

Re: Useless field ispartitioned in CreateStmtContext

2024-11-04 Thread Kirill Reshke
On Thu, 24 Oct 2024 at 18:08, hugo <2689496...@qq.com> wrote: > > Hi! > >When looking at the partition-related code, I found that the > ispartitioned > > field in CreateStmtContext is not used. It looks like we can safely remove it > and > > avoid invalid assignment logic. > > > > Here's

Re: Useless field ispartitioned in CreateStmtContext

2024-10-30 Thread Kirill Reshke
Hi On Thu, 24 Oct 2024, 18:08 hugo, <2689496...@qq.com> wrote: > Hi! > >When looking at the partition-related code, I found that the > ispartitioned > > field in CreateStmtContext is not used. It looks like we can safely remove > it and > > avoid invalid assignment logic. > > > > Here's a

Re: Useless field ispartitioned in CreateStmtContext

2024-10-25 Thread Kirill Reshke
On Thu, 24 Oct 2024 at 19:23, Alena Rybakina wrote: > > Hi! > > On 24.10.2024 16:07, hugo wrote: > > Hi! > >When looking at the partition-related code, I found that the > ispartitioned > > field in CreateStmtContext is not used. It looks like we can safely remove it > and > > avoid inval

Re: Useless field ispartitioned in CreateStmtContext

2024-10-24 Thread Alena Rybakina
Hi! On 24.10.2024 16:07, hugo wrote: Hi!    When looking at the partition-related code, I found that the ispartitioned field in CreateStmtContext is not used. It looks like we can safely remove it and avoid invalid assignment logic. Here's a very simple fix, any suggestion? diff --

Useless field ispartitioned in CreateStmtContext

2024-10-24 Thread hugo
Hi!    When looking at the partition-related code, I found that the ispartitioned field in CreateStmtContext is not used. It looks like we can safely remove it and avoid invalid assignment logic. Here's a very simple fix, any suggestion? diff --git a/src/backend/parser/parse_utilc