From: | "Gerhard Leykam" <gel123(at)sealsystems(dot)de> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #4355: TOKMAXLEN=10 to short for token strings |
Date: | 2008-08-14 14:30:49 |
Message-ID: | 200808141430.m7EEUnSH024613@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 4355
Logged by: Gerhard Leykam
Email address: gel123(at)sealsystems(dot)de
PostgreSQL version: 8.3.1
Operating system: HP-UX 11 64bit
Description: TOKMAXLEN=10 to short for token strings
Details:
Hi!
Structure datetkn in src/include/utils/datetime.h has a character array
token of length 10 (TOKMAXLEN).
In src/backend/utils/adt/datetime.c two arrays of datetkn structures are
filled where some tokens exceed 10 bytes!
On HP-UX using aCC this gives startup errors as:
2008-09-04 07:13:41 GMT LOG: ordering error in deltatktbl table: "#mil"
>= "{llennia"
2008-09-04 07:13:41 GMT LOG: ordering error in deltatktbl table:
"{millenniu" >= "p{millisec"
To solve this for me i increased TOKMAXLEN to 16.
Regards,
Gerhard Leykam
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-08-14 14:46:52 | Re: BUG #4355: TOKMAXLEN=10 to short for token strings |
Previous Message | David Fetter | 2008-08-14 12:54:57 | Re: BUG #4354: Text Type converted to Memo |