Re: Re: BUG #15629: Typo in Documentation

Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2019-02-12 이후 PGSQL 스포츠 토토 사이트 02:09Postg토토 결과SQL
From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: syluo1990(at)hotmail(dot)com
Subject: BUG #15629: Typo in Documentation
Date: 2019-02-11 03:26:13
Message-ID: 15629-2ef8b22e61f8333f@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 핫SQL : Postg토토 핫SQL 메일 링리스트 : 2019-02-11 이후 PGSQL-BUGS. pgsql-hackers

The following bug has been logged on the website:

Bug reference: 15629
Logged by: Shouyu Luo
Email address: syluo1990(at)hotmail(dot)com
PostgreSQL version: 11.0
Operating system: Ubuntu
Description:

/docs/current/ddl-partitioning.html

5.10.5. Partitioning and Constraint Exclusion
Constraint exclusion is only applied during query planning; unlike partition
pruning, it cannot be applied during query execution.

Is it supposed to be "unlike partition pruning, it can be applied during
query execution"?


From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15629: Typo in Documentation
Date: 2019-02-11 08:25:24
Message-ID: CAKJS1f_28cdfXBt_byu0m9D6qerSyL9rtLHzRTW-XU04gxGOAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

On Mon, 11 Feb 2019 at 20:49, PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> /docs/current/ddl-partitioning.html
>
> 5.10.5. Partitioning and Constraint Exclusion
> Constraint exclusion is only applied during query planning; unlike partition
> pruning, it cannot be applied during query execution.
>
> Is it supposed to be "unlike partition pruning, it can be applied during
> query execution"?

That's a bit confusing. "it" looks like must have been intended to
reference constraint exclusion, but since partition pruning was
mentioned afterwards, then it makes more sense to apply it to that.

Maybe it would be more clear to write:

Constraint exclusion is only applied during query planning; unlike
partition pruning which can also be applied during query execution.

Small patch doing it that way is attached.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
constraint_exclusion_doc_fix.patch application/octet-stream 536 bytes

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15629: Typo in Documentation
Date: 2019-02-11 13:18:56
Message-ID: CA+HiwqG94pwK2uMo=CvewW82Y1D1q5qiP0nGm0wROqXNi+LDKw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2019-02-11 이후 PGSQL 무지개 토토 13:18 pgsql-hackers

On Mon, Feb 11, 2019 at 5:25 PM David Rowley
<david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> On Mon, 11 Feb 2019 at 20:49, PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
> > /docs/current/ddl-partitioning.html
> >
> > 5.10.5. Partitioning and Constraint Exclusion
> > Constraint exclusion is only applied during query planning; unlike partition
> > pruning, it cannot be applied during query execution.
> >
> > Is it supposed to be "unlike partition pruning, it can be applied during
> > query execution"?
>
> That's a bit confusing. "it" looks like must have been intended to
> reference constraint exclusion, but since partition pruning was
> mentioned afterwards, then it makes more sense to apply it to that.
>
> Maybe it would be more clear to write:
>
> Constraint exclusion is only applied during query planning; unlike
> partition pruning which can also be applied during query execution.
>
> Small patch doing it that way is attached.

+1

Maybe, the semicolon should be replaced by a comma?

Thanks,
Amit


From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: Amit Langote <amitlangote09(at)gmail(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: BUG #15629: Typo in Documentation
Date: 2019-02-12 01:21:35
Message-ID: 5C621F9F.3020307@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

On 02/11/19 08:18, Amit Langote wrote:
> Maybe, the semicolon should be replaced by a comma?

I agree, and here is a version of the patch with that change.

Regards,
-Chap

Attachment Content-Type Size
constraint_exclusion_doc_fix-1.patch text/x-patch 623 bytes

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: David Rowley <dgrowley(at)gmail(dot)com>
Subject: Re: BUG #15629: Typo in Documentation
Date: 2019-02-12 01:24:22
Message-ID: 154993466294.11785.5821677471288740193.pgcf@coridan.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

The following review has been posted through the commitfest application:
make installcheck-world: not tested
Implements feature: not tested
Spec compliant: not tested
Documentation: tested, passed

This is a simple documentation change for which I do not see any controversy. (As a native speaker, I didn't find the original wording unclear, but if this change widens the audience for which it is clear, that's worthwhile.)

The new status of this patch is: Ready for Committer


From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: David Rowley <dgrowley(at)gmail(dot)com>
Subject: Re: BUG #15629: Typo in Documentation
Date: 2019-02-12 01:27:56
Message-ID: 154993487646.11785.5005416083291257512.pgcf@coridan.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

hmm, cf app has not seen <5C621F9F(dot)3020307(at)anastigmatix(dot)net> yet ... changing status back until that happens.

The new status of this patch is: Needs review


From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: Amit Langote <amitlangote09(at)gmail(dot)com>, syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: BUG #15629: Typo in Documentation
Date: 2019-02-12 02:09:30
Message-ID: CAKJS1f9vmcr+ujHMFQGy-o1imEONuj8xeP=_EK+fPtbV4m42qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: PostgreSQL : PostgreSQL 메일 링리스트 : 2019-02-12 이후 PGSQL 스포츠 토토 사이트 02:09 Postg토토 결과SQL

On Tue, 12 Feb 2019 at 14:21, Chapman Flack <chap(at)anastigmatix(dot)net> wrote:
>
> On 02/11/19 08:18, Amit Langote wrote:
> > Maybe, the semicolon should be replaced by a comma?
>
> I agree, and here is a version of the patch with that change.

Agreed about the comma. Thanks for updating the patch.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, Amit Langote <amitlangote09(at)gmail(dot)com>, syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: BUG #15629: Typo in Documentation
Date: 2019-02-12 03:04:25
Message-ID: 20190212030425.GD1475@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

On Tue, Feb 12, 2019 at 03:09:30PM +1300, David Rowley wrote:
> Agreed about the comma. Thanks for updating the patch.

Cool for me, so pushed down to v11.
--
Michael


From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, Amit Langote <amitlangote09(at)gmail(dot)com>, syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: BUG #15629: Typo in Documentation
Date: 2019-02-18 00:04:22
Message-ID: CAKJS1f-P+wcs4ovdkoMzfrt+rGyHEm042FisMPfA=dOYtfQQCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

On Tue, 12 Feb 2019 at 16:04, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> Cool for me, so pushed down to v11.

Thanks for pushing.

(belated due to being on leave)

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


From: Michael Paquier <michael(at)paquier(dot)xyz>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, Amit Langote <amitlangote09(at)gmail(dot)com>, syluo1990(at)hotmail(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Re: BUG #15629: Typo in Documentation
Date: 2019-02-18 00:26:19
Message-ID: 20190218002619.GD1864@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트 순위SQL : Postg토토 사이트 순위SQL 메일 링리스트 : 2019-02-18 00:26 이후 PGSQL-BUGS Postg토토 베이SQL

On Mon, Feb 18, 2019 at 01:04:22PM +1300, David Rowley wrote:
> Thanks for pushing.
>
> (belated due to being on leave)

No problem. Hope you had a good rest.
--
Michael