Documentation: references to old versions

Lists: pgsql-hackers
From: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Documentation: references to old versions
Date: 2013-02-12 09:14:34
Message-ID: CABOikdM7Q+WFFGoJYsUYcUCQ1+EHAXvFi47=v=+8Y+=Hh=NjZg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

While reading some documentation, I noticed that we have references to
past releases. For example,
http://www.postgresql.org/docs/9.2/static/xfunc-c.html mentions "A
magic block is required as of PostgreSQL 8.2". Sure, this is true even
as of 9.2 or even 9.3. There are a few more such references that I
could spot with a simple grep in the doc/src/sgml directory. I wonder
if this is worth fixing. I don't know sgml enough, but if it supports
some sort of a meta-tag, then it might help to replace specific
version references with something like <CURRENT_MAJOR_RELEASE> so that
the current major version gets substituted when docs for that release
are built.

Thanks,
Pavan

--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee


From: Dave Page <dpage(at)pgadmin(dot)org>
To: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 09:19:46
Message-ID: CA+OCxoxvOVuUKUNiL-nb67KhYs736gPcjRkKouhQqR-=a5O8HA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi

On Tue, Feb 12, 2013 at 9:14 AM, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>wrote:

> While reading some documentation, I noticed that we have references to
> past releases. For example,
> http://www.postgresql.org/docs/9.2/static/xfunc-c.html mentions "A
> magic block is required as of PostgreSQL 8.2". Sure, this is true even
> as of 9.2 or even 9.3. There are a few more such references that I
> could spot with a simple grep in the doc/src/sgml directory. I wonder
> if this is worth fixing. I don't know sgml enough, but if it supports
> some sort of a meta-tag, then it might help to replace specific
> version references with something like <CURRENT_MAJOR_RELEASE> so that
> the current major version gets substituted when docs for that release
> are built.
>

The phrasing "as of 8.2" basically means "from 8.2 onwards". Changing the
version there would make the text incorrect.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


From: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 09:22:01
Message-ID: CABOikdOsx=TjbSqi7a0CwHAWds_Xf+Y0tV0BLX+w9=j0KOw6vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Feb 12, 2013 at 2:49 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>
> The phrasing "as of 8.2" basically means "from 8.2 onwards". Changing the
> version there would make the text incorrect.
>

Ah Ok. Thanks for clarifying. My bad English.

Thanks,
Pavan

--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee


From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Pavan Deolasee *EXTERN*" <pavan(dot)deolasee(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 09:32:32
Message-ID: A737B7A37273E048B164557ADEF4A58B057B2195@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Pavan Deolasee wrote:
> While reading some documentation, I noticed that we have references to
> past releases. For example,
> http://www.postgresql.org/docs/9.2/static/xfunc-c.html mentions "A
> magic block is required as of PostgreSQL 8.2". Sure, this is true even
> as of 9.2 or even 9.3. There are a few more such references that I
> could spot with a simple grep in the doc/src/sgml directory. I wonder
> if this is worth fixing. I don't know sgml enough, but if it supports
> some sort of a meta-tag, then it might help to replace specific
> version references with something like <CURRENT_MAJOR_RELEASE> so that
> the current major version gets substituted when docs for that release
> are built.

I believe that this should remain "8.2".
It tells the reader that the magic block is required for
PostgreSQL since version 8.2, which is saying more than that
it is required in the current release.

Maybe the wording could be changed:
Since PostgreSQL 8.2, a magic block is required.

On the other hand, since 8.2 is desupported, the whole
"as of PostgreSQL 8.2" could be discarded.

I am not sure if <CURRENT_MAJOR_RELEASE> would be very useful.
I think that the documentation should only mention a version number
if the information stays valid.
Otherwise, one should use "the current version" to emphasize that
the statement is not tied to a certain version number.

Yours,
Laurenz Albe


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 09:40:39
Message-ID: CABUevEzqQCXo-qo0Ox=j7CuMPi4bzYGQUn1+s56b94yV+e+LiA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Feb 12, 2013 at 10:19 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
> Hi
>
> On Tue, Feb 12, 2013 at 9:14 AM, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
> wrote:
>>
>> While reading some documentation, I noticed that we have references to
>> past releases. For example,
>> http://www.postgresql.org/docs/9.2/static/xfunc-c.html mentions "A
>> magic block is required as of PostgreSQL 8.2". Sure, this is true even
>> as of 9.2 or even 9.3. There are a few more such references that I
>> could spot with a simple grep in the doc/src/sgml directory. I wonder
>> if this is worth fixing. I don't know sgml enough, but if it supports
>> some sort of a meta-tag, then it might help to replace specific
>> version references with something like <CURRENT_MAJOR_RELEASE> so that
>> the current major version gets substituted when docs for that release
>> are built.
>
>
> The phrasing "as of 8.2" basically means "from 8.2 onwards". Changing the
> version there would make the text incorrect.

In theory we could remove that reference completely since any versions
where it does not apply are out of support since years ago at this
point. But I don't see a point in doing that just for the sake of
removing - but if a section is reworded in general that contains such
references, it could be dropped.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 15:22:53
Message-ID: 21382.1360682573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Tue, Feb 12, 2013 at 10:19 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>> The phrasing "as of 8.2" basically means "from 8.2 onwards". Changing the
>> version there would make the text incorrect.

> In theory we could remove that reference completely since any versions
> where it does not apply are out of support since years ago at this
> point. But I don't see a point in doing that just for the sake of
> removing - but if a section is reworded in general that contains such
> references, it could be dropped.

The fact that pre-8.2 is out of support doesn't make this useless
information: many such installations are still out there in the wild,
and people may want to know what techniques will work with them.
I'd be inclined to leave the text as-is until it's been awhile since
we've heard of anyone using pre-8.2.

regards, tom lane


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Documentation: references to old versions
Date: 2013-02-12 15:26:35
Message-ID: CABUevExXPJxdKiV+VwN2VTi7YP6qX6uMo-xb12a6=jduJeYbjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Feb 12, 2013 at 4:22 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> On Tue, Feb 12, 2013 at 10:19 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>> The phrasing "as of 8.2" basically means "from 8.2 onwards". Changing the
>>> version there would make the text incorrect.
>
>> In theory we could remove that reference completely since any versions
>> where it does not apply are out of support since years ago at this
>> point. But I don't see a point in doing that just for the sake of
>> removing - but if a section is reworded in general that contains such
>> references, it could be dropped.
>
> The fact that pre-8.2 is out of support doesn't make this useless
> information: many such installations are still out there in the wild,
> and people may want to know what techniques will work with them.
> I'd be inclined to leave the text as-is until it's been awhile since
> we've heard of anyone using pre-8.2.

If you are using an earlier version, you should really be reading the
documentation that corresponds to the version that you are using.

That said, this general reason is why I say we shouldn't go remove it
intentionally. I'm just saying it's acceptable "collateral damage" if
it gets removed along with another patch, and that we shouldn't put
special efforts into maintaining it.

I'd rather see that special effort go into encouraging people to read
the version of the documentation that matches their version of
PostgreSQL...

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/