Re: ISN patch that applies cleanly with git apply
От | Robert Haas |
---|---|
Тема | Re: ISN patch that applies cleanly with git apply |
Дата | |
Msg-id | AANLkTinHC8HE50xRmcn1nwexUdjEGFvMaVx1iSHg5PaV@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: ISN patch that applies cleanly with git apply (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: ISN patch that applies cleanly with git apply
|
Список | pgsql-hackers |
On Mon, Oct 18, 2010 at 2:17 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Mon, Oct 18, 2010 at 1:57 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> Robert Haas <robertmhaas@gmail.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
В списке pgsql-hackers по дате отправления: