pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Thorsten Glaser <t.glaser@tarent.de>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14628: regex description in online documentation misleadingly/wrong
Date: Thu, 20 Apr 2017 12:37:50 -0400
Message-ID: <25587.1492706270@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwawUKoqCMTj1AUcr0tfQdzOekL5VwTXT5M9zHNfN-RWZQ@mail.gmail.com>
References: <20170420152549.24365.74331@wrigleys.postgresql.org>
<CAKFQuwawUKoqCMTj1AUcr0tfQdzOekL5VwTXT5M9zHNfN-RWZQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> So basically you feel its necessary for us to redundantly emphasize the
> fact that we default to ARE because its different from your default choice
> and, you imply but do not support, the choice of the majority of other
> regular expression implementations.
I can't get excited about this. It seems fairly difficult to me to make
the case that more people would take "POSIX regular expression" to mean
the basic form than the extended form. Most of our users probably don't
know the difference in the first place, and would consider section 9.7.3.1
to be *the* definition of what an RE is to Postgres. Those who do know
the difference would probably also turn to 9.7.3.1 to find out which form
we're talking about. Once you get there, the requested information is
pretty much the first thing you find.
It's possible that we should restructure the section nesting to bring
9.7.3.1 up a level and thus make it more visible. I'm thinking something
like
9.7.1. LIKE
9.7.2. SIMILAR TO Regular Expressions
9.7.3. POSIX Regular Expression Operators
9.7.4. POSIX Regular Expression Definition
But that would be doing some violence to the basic structure of the
chapter. We don't have separate sections for the definition of LIKE
patterns or SIMILAR TO patterns --- admittedly, they hardly need it.
One really simple change that might be worth doing is to turn the
sentence "The POSIX pattern language is described in much greater detail
below" into an actual link to 9.7.3.1. Once upon a time there wasn't
much material in between, but now it seems like a clickable link would
be good.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
view thread (5+ messages) latest in thread
Message-ID: <25587.1492706270@sss.pgh.pa.us> Permalink: ../25587.1492706270@sss.pgh.pa.us/ Also on: postgresql.org/message-id/25587.1492706270@sss.pgh.pa.us ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-bugs@postgresql.org Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, t.glaser@tarent.de Subject: Re: BUG #14628: regex description in online documentation misleadingly/wrong In-Reply-To: <25587.1492706270@sss.pgh.pa.us> References: <20170420152549.24365.74331@wrigleys.postgresql.org> <CAKFQuwawUKoqCMTj1AUcr0tfQdzOekL5VwTXT5M9zHNfN-RWZQ@mail.gmail.com> <25587.1492706270@sss.pgh.pa.us> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
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