Contrib docs v1

Lists: pgsql-docspgsql-patches
From: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Contrib docs v1
Date: 2007-10-21 23:06:17
Message-ID: 200710220106.18151.albert@nan-tic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

I attach the patch for the contrib docs. Mainly it's been formatting the
README files of each directory into SGML.

I've removed TODOs, history, licenses (all of them are BSD AFAICS), file
descriptions and install instructions (I only left one for them all).

The hole contrib is one single chapter after Full Text Search. I think this
gives it a lot of visibility as it's where other functions are, and given
that most contrib modules provide functions seemed a good place. However, Tom
showed some concerns with that so a final position should be decided. Each
section is the name of the contrib module. The first paragraph summarises
what it does. And usually the last subsection contains the author(s). The
rest is pretty different from one another and possibly some polishing will
have to be done afterwards.

--
Albert Cervera i Areny
http://www.NaN-tic.com

Attachment Content-Type Size
contrib.tar.bz2 application/x-tbz 50.1 KB
contrib.diff text/x-diff 2.5 KB

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Contrib docs v1
Date: 2007-11-09 00:51:36
Message-ID: 200711090051.lA90paU14074@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Albert Cervera i Areny wrote:
> I attach the patch for the contrib docs. Mainly it's been formatting the
> README files of each directory into SGML.
>
> I've removed TODOs, history, licenses (all of them are BSD AFAICS), file
> descriptions and install instructions (I only left one for them all).
>
> The hole contrib is one single chapter after Full Text Search. I think this
> gives it a lot of visibility as it's where other functions are, and given
> that most contrib modules provide functions seemed a good place. However, Tom
> showed some concerns with that so a final position should be decided. Each
> section is the name of the contrib module. The first paragraph summarises
> what it does. And usually the last subsection contains the author(s). The
> rest is pretty different from one another and possibly some polishing will
> have to be done afterwards.

Your patch was missing these SGML files:

onsgmls:contrib.sgml:26:1:E: cannot find "btree-gist.sgml"; tried "btree-gist.sgml", "./btree-gist.sgml"
onsgmls:contrib.sgml:28:1:E: cannot find "cube.sgml"; tried "cube.sgml", "./cube.sgml"
onsgmls:contrib.sgml:53:1:E: cannot find "xml2.sgml"; tried "xml2.sgml", "./xml2.sgml"

Are you still working on those?

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

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


From: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: Contrib docs v1
Date: 2007-11-09 19:47:45
Message-ID: 200711092047.45896.albert@nan-tic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Sorry, I missed them, indeed I packed btree_gist instead of the good one
btree-gist. The cube and xml2 have been added to.

A Divendres 09 Novembre 2007, Bruce Momjian va escriure:
> Albert Cervera i Areny wrote:
> > I attach the patch for the contrib docs. Mainly it's been formatting the
> > README files of each directory into SGML.
> >
> > I've removed TODOs, history, licenses (all of them are BSD AFAICS), file
> > descriptions and install instructions (I only left one for them all).
> >
> > The hole contrib is one single chapter after Full Text Search. I think
> > this gives it a lot of visibility as it's where other functions are, and
> > given that most contrib modules provide functions seemed a good place.
> > However, Tom showed some concerns with that so a final position should be
> > decided. Each section is the name of the contrib module. The first
> > paragraph summarises what it does. And usually the last subsection
> > contains the author(s). The rest is pretty different from one another and
> > possibly some polishing will have to be done afterwards.
>
> Your patch was missing these SGML files:
>
> onsgmls:contrib.sgml:26:1:E: cannot find "btree-gist.sgml"; tried
> "btree-gist.sgml", "./btree-gist.sgml" onsgmls:contrib.sgml:28:1:E: cannot
> find "cube.sgml"; tried "cube.sgml", "./cube.sgml"
> onsgmls:contrib.sgml:53:1:E: cannot find "xml2.sgml"; tried "xml2.sgml",
> "./xml2.sgml"
>
> Are you still working on those?

--
Albert Cervera i Areny
http://www.NaN-tic.com

Attachment Content-Type Size
contrib.tar.bz2 application/x-tbz 55.6 KB

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Contrib docs v1
Date: 2007-11-10 23:36:47
Message-ID: 200711102336.lAANalH01286@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Albert Cervera i Areny wrote:
> Sorry, I missed them, indeed I packed btree_gist instead of the good one
> btree-gist. The cube and xml2 have been added to.

Thanks. All applied. I know people liked the README files in each
/contrib directory but we have no chance of keeping them in sync with
the SGML so I removed them.

I still have lots of adjustments to make but at least it is in.

Albert, can you do the new dict_int and dict_xsyn READMEs. I could do
them but I am afraid I would not do as consistent of a job as you did.
Thanks. Those README's are still in CVS /contrib, of course.

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

>
> A Divendres 09 Novembre 2007, Bruce Momjian va escriure:
> > Albert Cervera i Areny wrote:
> > > I attach the patch for the contrib docs. Mainly it's been formatting the
> > > README files of each directory into SGML.
> > >
> > > I've removed TODOs, history, licenses (all of them are BSD AFAICS), file
> > > descriptions and install instructions (I only left one for them all).
> > >
> > > The hole contrib is one single chapter after Full Text Search. I think
> > > this gives it a lot of visibility as it's where other functions are, and
> > > given that most contrib modules provide functions seemed a good place.
> > > However, Tom showed some concerns with that so a final position should be
> > > decided. Each section is the name of the contrib module. The first
> > > paragraph summarises what it does. And usually the last subsection
> > > contains the author(s). The rest is pretty different from one another and
> > > possibly some polishing will have to be done afterwards.
> >
> > Your patch was missing these SGML files:
> >
> > onsgmls:contrib.sgml:26:1:E: cannot find "btree-gist.sgml"; tried
> > "btree-gist.sgml", "./btree-gist.sgml" onsgmls:contrib.sgml:28:1:E: cannot
> > find "cube.sgml"; tried "cube.sgml", "./cube.sgml"
> > onsgmls:contrib.sgml:53:1:E: cannot find "xml2.sgml"; tried "xml2.sgml",
> > "./xml2.sgml"
> >
> > Are you still working on those?
>
>
>
> --
> Albert Cervera i Areny
> http://www.NaN-tic.com

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

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

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


From: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Contrib docs v1
Date: 2007-11-11 13:05:19
Message-ID: 200711111405.20567.albert@nan-tic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

A Diumenge 11 Novembre 2007, Bruce Momjian va escriure:
> Albert Cervera i Areny wrote:
> > Sorry, I missed them, indeed I packed btree_gist instead of the good one
> > btree-gist. The cube and xml2 have been added to.
>
> Thanks. All applied. I know people liked the README files in each
> /contrib directory but we have no chance of keeping them in sync with
> the SGML so I removed them.
>
> I still have lots of adjustments to make but at least it is in.

I know there are many things to improve but as you say at least it is in. Now
we can improve it incrementally.

>
> Albert, can you do the new dict_int and dict_xsyn READMEs. I could do
> them but I am afraid I would not do as consistent of a job as you did.
> Thanks. Those README's are still in CVS /contrib, of course.

Of course. I'll send them ASAP.

>
> ---------------------------------------------------------------------------
>
> > A Divendres 09 Novembre 2007, Bruce Momjian va escriure:
> > > Albert Cervera i Areny wrote:
> > > > I attach the patch for the contrib docs. Mainly it's been formatting
> > > > the README files of each directory into SGML.
> > > >
> > > > I've removed TODOs, history, licenses (all of them are BSD AFAICS),
> > > > file descriptions and install instructions (I only left one for them
> > > > all).
> > > >
> > > > The hole contrib is one single chapter after Full Text Search. I
> > > > think this gives it a lot of visibility as it's where other functions
> > > > are, and given that most contrib modules provide functions seemed a
> > > > good place. However, Tom showed some concerns with that so a final
> > > > position should be decided. Each section is the name of the contrib
> > > > module. The first paragraph summarises what it does. And usually the
> > > > last subsection contains the author(s). The rest is pretty different
> > > > from one another and possibly some polishing will have to be done
> > > > afterwards.
> > >
> > > Your patch was missing these SGML files:
> > >
> > > onsgmls:contrib.sgml:26:1:E: cannot find "btree-gist.sgml"; tried
> > > "btree-gist.sgml", "./btree-gist.sgml" onsgmls:contrib.sgml:28:1:E:
> > > cannot find "cube.sgml"; tried "cube.sgml", "./cube.sgml"
> > > onsgmls:contrib.sgml:53:1:E: cannot find "xml2.sgml"; tried
> > > "xml2.sgml", "./xml2.sgml"
> > >
> > > Are you still working on those?
> >
> > --
> > Albert Cervera i Areny
> > http://www.NaN-tic.com
>
> [ Attachment, skipping... ]
>
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: explain analyze is your friend

--
Albert Cervera i Areny
http://www.NaN-tic.com


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCHES] Contrib docs v1
Date: 2007-11-11 14:28:24
Message-ID: 200711111428.lABESO905555@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Albert Cervera i Areny wrote:
> A Diumenge 11 Novembre 2007, Bruce Momjian va escriure:
> > Albert Cervera i Areny wrote:
> > > Sorry, I missed them, indeed I packed btree_gist instead of the good one
> > > btree-gist. The cube and xml2 have been added to.
> >
> > Thanks. All applied. I know people liked the README files in each
> > /contrib directory but we have no chance of keeping them in sync with
> > the SGML so I removed them.
> >
> > I still have lots of adjustments to make but at least it is in.
>
> I know there are many things to improve but as you say at least it is in. Now
> we can improve it incrementally.
>
> >
> > Albert, can you do the new dict_int and dict_xsyn READMEs. I could do
> > them but I am afraid I would not do as consistent of a job as you did.
> > Thanks. Those README's are still in CVS /contrib, of course.
>
> Of course. I'll send them ASAP.

Uh, don't start converting them yet. I now realize that
/contrib/dict_int is an example and just like the stuff in /contrib/spi
perhaps shouldn't have its docs moved to SGML. Is /contrib/dict_xsyn
also just an example? Should we leave example /contrib modules
documented in READMEs?

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

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCHES] Contrib docs v1
Date: 2007-11-11 15:42:17
Message-ID: 19053.1194795737@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Uh, don't start converting them yet. I now realize that
> /contrib/dict_int is an example and just like the stuff in /contrib/spi
> perhaps shouldn't have its docs moved to SGML.

What makes you realize any such thing? You could make that argument for
test_parser, probably, but the dict modules are useful in their own
right.

> Should we leave example /contrib modules documented in READMEs?

What is the point of such a distinction?

regards, tom lane


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCHES] Contrib docs v1
Date: 2007-11-11 18:16:39
Message-ID: 200711111816.lABIGdU15448@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Uh, don't start converting them yet. I now realize that
> > /contrib/dict_int is an example and just like the stuff in /contrib/spi
> > perhaps shouldn't have its docs moved to SGML.
>
> What makes you realize any such thing? You could make that argument for
> test_parser, probably, but the dict modules are useful in their own
> right.
>
> > Should we leave example /contrib modules documented in READMEs?
>
> What is the point of such a distinction?

If the contrib value is the source code itself then it seems a README is
more appropriate as people are not going to install the contrib module
itself --- they are using it only to learn.

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

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCHES] Contrib docs v1
Date: 2007-11-11 19:29:35
Message-ID: 4963.1194809375@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> Tom Lane wrote:
>> What is the point of such a distinction?

> If the contrib value is the source code itself then it seems a README is
> more appropriate as people are not going to install the contrib module
> itself --- they are using it only to learn.

I find this argument pretty unconvincing. Most of the contrib modules
serve at least some purpose as coding examples.

If we set up a situation where all but one or two are documented in the
main SGML docs, the net effect will be that people don't even know that
the ones left out exist. Even a module that's only useful as an example
won't be useful at all, if people don't find it.

regards, tom lane


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [PATCHES] Contrib docs v1
Date: 2007-11-12 03:06:10
Message-ID: 200711120306.lAC36AD27466@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Tom Lane wrote:
> >> What is the point of such a distinction?
>
> > If the contrib value is the source code itself then it seems a README is
> > more appropriate as people are not going to install the contrib module
> > itself --- they are using it only to learn.
>
> I find this argument pretty unconvincing. Most of the contrib modules
> serve at least some purpose as coding examples.
>
> If we set up a situation where all but one or two are documented in the
> main SGML docs, the net effect will be that people don't even know that
> the ones left out exist. Even a module that's only useful as an example
> won't be useful at all, if people don't find it.

Makes sense. Albert, can you do the remaining READMEs? You can skip
tsearch2 and the Japanese ones. That is going away before final 8.3.

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

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: Contrib docs v1
Date: 2007-11-13 23:30:01
Message-ID: 10002.1194996601@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Albert Cervera i Areny <albert(at)nan-tic(dot)com> writes:
> [ contrib sgml docs ]

I am distressed to discover that these seem to have been generated from
a snapshot taken some time in June, as they are missing the last five
months' worth of changes to the now-deleted README files.

regards, tom lane


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, pgsql-patches(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: Contrib docs v1
Date: 2007-11-13 23:46:18
Message-ID: 473A374A.7020208@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Tom Lane wrote:
> Albert Cervera i Areny <albert(at)nan-tic(dot)com> writes:
>
>> [ contrib sgml docs ]
>>
>
> I am distressed to discover that these seem to have been generated from
> a snapshot taken some time in June, as they are missing the last five
> months' worth of changes to the now-deleted README files.
>
>
>

I guess that's why we have an Attic, no? They aren't really deleted.

cheers

andrew


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Contrib docs v1
Date: 2007-11-13 23:54:41
Message-ID: 200711132354.lADNsfq08543@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Tom Lane wrote:
> Albert Cervera i Areny <albert(at)nan-tic(dot)com> writes:
> > [ contrib sgml docs ]
>
> I am distressed to discover that these seem to have been generated from
> a snapshot taken some time in June, as they are missing the last five
> months' worth of changes to the now-deleted README files.

That is odd. I found changes from a README that was modified on October
1 in the SGML so I thought were were only missing the changes since
then. This change from October 1 is in SGML:

http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/chkpass/Attic/README.chkpass.diff?r1=1.4;r2=1.5;f=h

So I assume we were only missing the dict_*/README additions.

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

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


From: Albert Cervera i Areny <albert(at)nan-tic(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: Contrib docs v1
Date: 2007-11-13 23:54:56
Message-ID: 200711140054.57335.albert@nan-tic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

I started importing the files when I notified the list, can't remember exactly
when and I've iteratively improved all the files so there can be differences
though I thought that contrib READMES where very stable. Anyway, I'll try to
take a look at the diffs from then and add those changes.

A Dimecres 14 Novembre 2007, Tom Lane va escriure:
> Albert Cervera i Areny <albert(at)nan-tic(dot)com> writes:
> > [ contrib sgml docs ]
>
> I am distressed to discover that these seem to have been generated from
> a snapshot taken some time in June, as they are missing the last five
> months' worth of changes to the now-deleted README files.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate

--
Albert Cervera i Areny
http://www.NaN-tic.com


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Albert Cervera i Areny <albert(at)nan-tic(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Contrib docs v1
Date: 2007-11-14 00:29:23
Message-ID: 10752.1195000163@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> So I assume we were only missing the dict_*/README additions.

You are entirely mistaken. There are missing updates in at least
README.pg_standby, README.pageinspect, README.intarray, README.pgbench;
and README.pgrowlocks is sufficiently confused that it's hard to tell
if it was copied before or after the last change.

regards, tom lane