Re: ISN patch that applies cleanly with git apply

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, Jan Otto <asche(at)me(dot)com>
Subject: Re: ISN patch that applies cleanly with git apply
Date: 2010-10-20 02:49:10
Message-ID: AANLkTinHC8HE50xRmcn1nwexUdjEGFvMaVx1iSHg5PaV@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 18, 2010 at 2:17 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, Oct 18, 2010 at 1:57 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>>> I may be in the minority here, but I'm inclined to just apply this and
>>> move on.
>>
>> FWIW, I agree with applying the code patch as-is, but I think we need to
>> consider the documentation.  Specifically:
>>
>> 1. The first para of
>> http://developer.postgresql.org/pgdocs/postgres/isn.html
>> asserts that ISNs are "correctly hyphenated" on output.  Given this
>> discussion, that statement clearly ought to be toned down.  But how
>> shall we word it instead?
>
> Numbers are validated on input according to a hard-coded list of
> prefixes; this list of prefixes is also used to hyphenate numbers on
> output.  Since new prefixes are assigned from time to time, the list
> of prefixes may be out of date.  It is hoped that a future version of
> this module will obtained the prefix list from one or more tables that
> can be easily updated by users as needed; however, at present, the
> list can only be updated by modifying the source code and recompiling.
>  Alternatively, prefix validation and hyphenation support may be
> dropped from a future version of this module.

I have committed the patch and the text proposed above.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2010-10-20 03:05:37 Re: PostgreSQL and HugePage
Previous Message Bruce Momjian 2010-10-20 02:31:26 Re: [COMMITTERS] pgsql: Restructure the pg_upgrade code to use several global structures