Re: Documentation of pg_badkend_pid and stats functions

Lists: pgsql-docs
From: Jim Nasby <decibel(at)decibel(dot)org>
To: pgsql-docs(at)postgresql(dot)org
Subject: Documentation of pg_badkend_pid and stats functions
Date: 2007-04-12 12:54:24
Message-ID: B516ABD4-0406-4D25-9788-FD45F36B2537@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Two questions: Why is pg_backend_pid documented with the stats
functions (9.19 System Information Functions) seems more logical.

Also, I can see mentioning the stats functions in the monitoring
section, but shouldn't they actually be documented in with the rest
of the functions?
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-06 15:12:22
Message-ID: 3CA672AD-CD9B-4DED-BCDB-026BAC4ED9D1@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On Apr 12, 2007, at 7:54 AM, Jim Nasby wrote:
> Two questions: Why is pg_backend_pid documented with the stats
> functions (9.19 System Information Functions) seems more logical.
>
> Also, I can see mentioning the stats functions in the monitoring
> section, but shouldn't they actually be documented in with the rest
> of the functions?

No comments? Does that mean if I write up a patch it'll be accepted?
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-06 16:44:50
Message-ID: 200705061644.l46Giof10226@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Jim Nasby wrote:
> On Apr 12, 2007, at 7:54 AM, Jim Nasby wrote:
> > Two questions: Why is pg_backend_pid documented with the stats
> > functions (9.19 System Information Functions) seems more logical.
> >
> > Also, I can see mentioning the stats functions in the monitoring
> > section, but shouldn't they actually be documented in with the rest
> > of the functions?
>
> No comments? Does that mean if I write up a patch it'll be accepted?

Yea, I was wondering about that. I think the best idea would be to
reference the backend functions from the main functions page, rather
than move them.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-07 16:03:08
Message-ID: 9D7639D9-EAE4-47A5-8FDD-76E1EC29A342@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On May 6, 2007, at 11:44 AM, Bruce Momjian wrote:
> Jim Nasby wrote:
>> On Apr 12, 2007, at 7:54 AM, Jim Nasby wrote:
>>> Two questions: Why is pg_backend_pid documented with the stats
>>> functions (9.19 System Information Functions) seems more logical.
>>>
>>> Also, I can see mentioning the stats functions in the monitoring
>>> section, but shouldn't they actually be documented in with the rest
>>> of the functions?
>>
>> No comments? Does that mean if I write up a patch it'll be accepted?
>
> Yea, I was wondering about that. I think the best idea would be to
> reference the backend functions from the main functions page, rather
> than move them.

Well, pg_backend_pid makes no sense being in with the stats
functions, so I'll move it. I'll just include references to the other
stuff.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-13 20:55:54
Message-ID: 827EEEAA-A2B0-4AE4-9D51-96524E05CFC1@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On May 7, 2007, at 11:03 AM, Jim Nasby wrote:
> On May 6, 2007, at 11:44 AM, Bruce Momjian wrote:
>> Jim Nasby wrote:
>>> On Apr 12, 2007, at 7:54 AM, Jim Nasby wrote:
>>>> Two questions: Why is pg_backend_pid documented with the stats
>>>> functions (9.19 System Information Functions) seems more logical.
>>>>
>>>> Also, I can see mentioning the stats functions in the monitoring
>>>> section, but shouldn't they actually be documented in with the rest
>>>> of the functions?
>>>
>>> No comments? Does that mean if I write up a patch it'll be accepted?
>>
>> Yea, I was wondering about that. I think the best idea would be to
>> reference the backend functions from the main functions page, rather
>> than move them.
>
> Well, pg_backend_pid makes no sense being in with the stats
> functions, so I'll move it. I'll just include references to the
> other stuff.

Turns out it didn't really make much more sense to move
pg_backend_pid either, so I went with Bruce's original idea.

Attachment Content-Type Size
monfunc.patch application/octet-stream 847 bytes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-13 22:48:01
Message-ID: 20752.1179096481@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

Jim Nasby <decibel(at)decibel(dot)org> writes:
> <title>System Information Functions</title>

> <para>
> + In addition to the functions listed in this section, there are a number of
> + functions related to the statistics system that also provide system
> + information. See <xref linkend="monitoring-stats-views"> for more
> + information.
> + </para>

Surely a section should not *begin* with a cross-reference to someplace
else.

regards, tom lane


From: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-13 22:59:59
Message-ID: 5BCF4FA7-1DBA-4CE7-A07A-D923FC2BFA7A@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On Sun, May 13, 2007 at 06:48:01PM -0400, Tom Lane wrote:
> Jim Nasby <decibel(at)decibel(dot)org> writes:
>> <title>System Information Functions</title>
>
>> <para>
>> + In addition to the functions listed in this section, there
>> are a number of
>> + functions related to the statistics system that also provide
>> system
>> + information. See <xref linkend="monitoring-stats-views"> for
>> more
>> + information.
>> + </para>
>
> Surely a section should not *begin* with a cross-reference to
> someplace
> else.

My concern is that folks will see the table right below it, not find
what they're looking for there, and move on... what about immediately
after the table?
--
Jim Nasby decibel(at)decibel(dot)org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)

Attachment Content-Type Size
monfunc2.patch application/octet-stream 787 bytes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-13 23:45:30
Message-ID: 21498.1179099930@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

"Jim C. Nasby" <decibel(at)decibel(dot)org> writes:
> On Sun, May 13, 2007 at 06:48:01PM -0400, Tom Lane wrote:
>> Surely a section should not *begin* with a cross-reference to
>> someplace else.

> My concern is that folks will see the table right below it, not find
> what they're looking for there, and move on... what about immediately
> after the table?

Immediately after is fine with me. For that matter, you could probably
get away with putting it between the introductory para and the table
proper. I'm just allergic to sections that don't begin with a topic
sentence telling you what they are about.

regards, tom lane


From: Jim Nasby <decibel(at)decibel(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-14 18:47:18
Message-ID: B4117EF4-2CFE-401B-9C8E-B18A51FA556B@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs

On May 13, 2007, at 6:45 PM, Tom Lane wrote:
> "Jim C. Nasby" <decibel(at)decibel(dot)org> writes:
>> On Sun, May 13, 2007 at 06:48:01PM -0400, Tom Lane wrote:
>>> Surely a section should not *begin* with a cross-reference to
>>> someplace else.
>
>> My concern is that folks will see the table right below it, not find
>> what they're looking for there, and move on... what about immediately
>> after the table?
>
> Immediately after is fine with me. For that matter, you could
> probably
> get away with putting it between the introductory para and the table
> proper. I'm just allergic to sections that don't begin with a topic
> sentence telling you what they are about.

See attached. I wanted to not put it between the paragraph
referencing the table and the table itself, but couldn't think of a
better intro paragraph for the section...

Attachment Content-Type Size
monfunc3.patch application/octet-stream 845 bytes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jim Nasby <decibel(at)decibel(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-docs(at)postgresql(dot)org
Subject: Re: Documentation of pg_badkend_pid and stats functions
Date: 2007-05-30 18:13:31
Message-ID: 200705301813.l4UIDVx17395@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs


Patch applied. Thanks.

---------------------------------------------------------------------------

Jim Nasby wrote:
> On May 13, 2007, at 6:45 PM, Tom Lane wrote:
> > "Jim C. Nasby" <decibel(at)decibel(dot)org> writes:
> >> On Sun, May 13, 2007 at 06:48:01PM -0400, Tom Lane wrote:
> >>> Surely a section should not *begin* with a cross-reference to
> >>> someplace else.
> >
> >> My concern is that folks will see the table right below it, not find
> >> what they're looking for there, and move on... what about immediately
> >> after the table?
> >
> > Immediately after is fine with me. For that matter, you could
> > probably
> > get away with putting it between the introductory para and the table
> > proper. I'm just allergic to sections that don't begin with a topic
> > sentence telling you what they are about.
>
> See attached. I wanted to not put it between the paragraph
> referencing the table and the table itself, but couldn't think of a
> better intro paragraph for the section...
[ Attachment, skipping... ]

>
> --
> Jim Nasby jim(at)nasby(dot)net
> EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +