Thread

Commits

  1. doc: Mention UNION/ORDER BY etc. keywords in section headers.

  1. Chapter 7. Queries

    The Post Office <noreply@postgresql.org> — 2020-09-11T08:45:41Z

    The following documentation comment has been logged on the website:
    
    Page: https://www.postgresql.org/docs/12/queries.html
    Description:
    
    I like to browse documentation by index rather than searching. The Postgres
    documentation is fairly well organized so this is easy for most topics.
    However, on the "Chapter 7. Queries" index page, I often think I am in the
    wrong place if I am looking for information about UNION or ORDER BY, because
    those keywords are missing from that page. Unlike all the other headings,
    the headings for these two topics does not include the relevant keywords in
    teletype. I think it is important to include the keywords, particularly for
    people whom already know which keyword they're looking for.
    
    For example, I propose the following changes:
    7.4. Combining Queries -> 7.4. Combining Queries with UNION
    7.5. Sorting Rows -> 7.5. Sorting Rows with ORDER BY
    
    If there are other examples I've missed where a topic is bound to a specific
    keyword, they should updated similarly.
    
  2. Re: Chapter 7. Queries

    David G. Johnston <david.g.johnston@gmail.com> — 2020-09-15T01:03:54Z

    On Fri, Sep 11, 2020 at 2:37 AM PG Doc comments form <noreply@postgresql.org>
    wrote:
    
    > The following documentation comment has been logged on the website:
    >
    > Page: https://www.postgresql.org/docs/12/queries.html
    > Description:
    >
    > I like to browse documentation by index rather than searching.
    
    
    What you describe is browsing the table of contents.
    
    
    > The Postgres
    > documentation is fairly well organized so this is easy for most topics.
    > However, on the "Chapter 7. Queries" index page, I often think I am in the
    > wrong place if I am looking for information about UNION or ORDER BY,
    > because
    > those keywords are missing from that page. Unlike all the other headings,
    > the headings for these two topics does not include the relevant keywords in
    > teletype. I think it is important to include the keywords, particularly for
    > people whom already know which keyword they're looking for.
    >
    
    The "index" is an actual section and searching for both UNION and ORDER BY
    turns up entries there.
    
    For example, I propose the following changes:
    > 7.4. Combining Queries -> 7.4. Combining Queries with UNION
    > 7.5. Sorting Rows -> 7.5. Sorting Rows with ORDER BY
    >
    
    Given that 7.6 is named "LIMIT and OFFSET" I don't have an issue with
    adding the relevant keywords (including EXCEPT and INTERSECT) in those two
    places.
    
    If there are other examples I've missed where a topic is bound to a specific
    > keyword, they should updated similarly.
    >
    
    I didn't look for any...
    
    David J.
    
  3. Re: Chapter 7. Queries

    David G. Johnston <david.g.johnston@gmail.com> — 2020-10-02T21:00:26Z

    On Mon, Sep 14, 2020 at 6:03 PM David G. Johnston <
    david.g.johnston@gmail.com> wrote:
    
    > Given that 7.6 is named "LIMIT and OFFSET" I don't have an issue with
    > adding the relevant keywords (including EXCEPT and INTERSECT) in those two
    > places.
    >
    
    Patch attached.
    
    David J.
    
  4. Re: Chapter 7. Queries

    David G. Johnston <david.g.johnston@gmail.com> — 2020-10-21T15:02:28Z

    Moved to -hackers and commitfest
    
    https://www.postgresql.org/message-id/CAKFQuwbqkcLCJ3gXUjso74gy80yNkB%3DFQnT_SrOq3PsrRm2SqQ%40mail.gmail.com
    
    David J.
    
    
    On Fri, Oct 2, 2020 at 2:00 PM David G. Johnston <david.g.johnston@gmail.com>
    wrote:
    
    > On Mon, Sep 14, 2020 at 6:03 PM David G. Johnston <
    > david.g.johnston@gmail.com> wrote:
    >
    >> Given that 7.6 is named "LIMIT and OFFSET" I don't have an issue with
    >> adding the relevant keywords (including EXCEPT and INTERSECT) in those two
    >> places.
    >>
    >
    > Patch attached.
    >
    > David J.
    >