pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15629: Typo in Documentation
10+ messages / 5 participants
[nested] [flat]
Commits from this thread:
2019-02-12 ea05b221c2 6af8c79868 Clarify docs about limitations of constraint exclusion with partitions
* BUG #15629: Typo in Documentation
@ 2019-02-11 03:26 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 10+ messages in thread
From: PG Bug reporting form @ 2019-02-11 03:26 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: syluo1990@hotmail.com
The following bug has been logged on the website:
Bug reference: 15629
Logged by: Shouyu Luo
Email address: syluo1990@hotmail.com
PostgreSQL version: 11.0
Operating system: Ubuntu
Description:
https://www.postgresql.org/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"?
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: BUG #15629: Typo in Documentation
@ 2019-02-11 08:25 David Rowley <david.rowley@2ndquadrant.com>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 10+ messages in thread
From: David Rowley @ 2019-02-11 08:25 UTC (permalink / raw)
To: syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Mon, 11 Feb 2019 at 20:49, PG Bug reporting form
<noreply@postgresql.org> wrote:
> https://www.postgresql.org/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
Attachments:
constraint_exclusion_doc_fix.patch (application/octet-stream, 536B) download
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index ef713a5a1c..0126dad578 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -4512,7 +4512,7 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
<listitem>
<para>
Constraint exclusion is only applied during query planning; unlike
- partition pruning, it cannot be applied during query execution.
+ partition pruning, which can also be applied during query execution.
</para>
</listitem>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: BUG #15629: Typo in Documentation
@ 2019-02-11 13:18 Amit Langote <amitlangote09@gmail.com>
parent: David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 1 reply; 10+ messages in thread
From: Amit Langote @ 2019-02-11 13:18 UTC (permalink / raw)
To: David Rowley <david.rowley@2ndquadrant.com>; +Cc: syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Mon, Feb 11, 2019 at 5:25 PM David Rowley
<david.rowley@2ndquadrant.com> wrote:
> On Mon, 11 Feb 2019 at 20:49, PG Bug reporting form
> <noreply@postgresql.org> wrote:
> > https://www.postgresql.org/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
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Re: BUG #15629: Typo in Documentation
@ 2019-02-12 01:21 Chapman Flack <chap@anastigmatix.net>
parent: Amit Langote <amitlangote09@gmail.com>
0 siblings, 2 replies; 10+ messages in thread
From: Chapman Flack @ 2019-02-12 01:21 UTC (permalink / raw)
To: Amit Langote <amitlangote09@gmail.com>; David Rowley <david.rowley@2ndquadrant.com>; +Cc: syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
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
Attachments:
constraint_exclusion_doc_fix-1.patch (text/x-patch, 622B) download
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml
index ef713a5..8314fce 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -4511,8 +4511,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
<itemizedlist>
<listitem>
<para>
- Constraint exclusion is only applied during query planning; unlike
- partition pruning, it cannot be applied during query execution.
+ Constraint exclusion is only applied during query planning, unlike
+ partition pruning, which can also be applied during query execution.
</para>
</listitem>
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: BUG #15629: Typo in Documentation
@ 2019-02-12 01:24 Chapman Flack <chap@anastigmatix.net>
parent: Chapman Flack <chap@anastigmatix.net>
1 sibling, 1 reply; 10+ messages in thread
From: Chapman Flack @ 2019-02-12 01:24 UTC (permalink / raw)
To: pgsql-hackers@lists.postgresql.org; +Cc: David Rowley <dgrowley@gmail.com>
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
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: BUG #15629: Typo in Documentation
@ 2019-02-12 01:27 Chapman Flack <chap@anastigmatix.net>
parent: Chapman Flack <chap@anastigmatix.net>
0 siblings, 0 replies; 10+ messages in thread
From: Chapman Flack @ 2019-02-12 01:27 UTC (permalink / raw)
To: pgsql-hackers@lists.postgresql.org; +Cc: David Rowley <dgrowley@gmail.com>
hmm, cf app has not seen <5C621F9F.3020307@anastigmatix.net> yet ... changing status back until that happens.
The new status of this patch is: Needs review
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Re: BUG #15629: Typo in Documentation
@ 2019-02-12 02:09 David Rowley <david.rowley@2ndquadrant.com>
parent: Chapman Flack <chap@anastigmatix.net>
1 sibling, 1 reply; 10+ messages in thread
From: David Rowley @ 2019-02-12 02:09 UTC (permalink / raw)
To: Chapman Flack <chap@anastigmatix.net>; +Cc: Amit Langote <amitlangote09@gmail.com>; syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Tue, 12 Feb 2019 at 14:21, Chapman Flack <chap@anastigmatix.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
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Re: BUG #15629: Typo in Documentation
@ 2019-02-12 03:04 Michael Paquier <michael@paquier.xyz>
parent: David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 1 reply; 10+ messages in thread
From: Michael Paquier @ 2019-02-12 03:04 UTC (permalink / raw)
To: David Rowley <david.rowley@2ndquadrant.com>; +Cc: Chapman Flack <chap@anastigmatix.net>; Amit Langote <amitlangote09@gmail.com>; syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Re: BUG #15629: Typo in Documentation
@ 2019-02-18 00:04 David Rowley <david.rowley@2ndquadrant.com>
parent: Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 10+ messages in thread
From: David Rowley @ 2019-02-18 00:04 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: Chapman Flack <chap@anastigmatix.net>; Amit Langote <amitlangote09@gmail.com>; syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
On Tue, 12 Feb 2019 at 16:04, Michael Paquier <michael@paquier.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
^ permalink raw reply [nested|flat] 10+ messages in thread
* Re: Re: BUG #15629: Typo in Documentation
@ 2019-02-18 00:26 Michael Paquier <michael@paquier.xyz>
parent: David Rowley <david.rowley@2ndquadrant.com>
0 siblings, 0 replies; 10+ messages in thread
From: Michael Paquier @ 2019-02-18 00:26 UTC (permalink / raw)
To: David Rowley <david.rowley@2ndquadrant.com>; +Cc: Chapman Flack <chap@anastigmatix.net>; Amit Langote <amitlangote09@gmail.com>; syluo1990@hotmail.com, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 10+ messages in thread
end of thread, other threads:[~2019-02-18 00:26 UTC | newest]
Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 03:26 BUG #15629: Typo in Documentation PG Bug reporting form <noreply@postgresql.org>
2019-02-11 08:25 ` David Rowley <david.rowley@2ndquadrant.com>
2019-02-11 13:18 ` Amit Langote <amitlangote09@gmail.com>
2019-02-12 01:21 ` Chapman Flack <chap@anastigmatix.net>
2019-02-12 01:24 ` Chapman Flack <chap@anastigmatix.net>
2019-02-12 01:27 ` Chapman Flack <chap@anastigmatix.net>
2019-02-12 02:09 ` David Rowley <david.rowley@2ndquadrant.com>
2019-02-12 03:04 ` Michael Paquier <michael@paquier.xyz>
2019-02-18 00:04 ` David Rowley <david.rowley@2ndquadrant.com>
2019-02-18 00:26 ` Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox