ISN extension bug? - Mailing list pgsql-hackers

From Fabien COELHO
Subject ISN extension bug?
Date
Msg-id alpine.DEB.2.10.1312210942490.1231@sto
Whole thread Raw
Responses Re: ISN extension bug? (with patch)
List pgsql-hackers
Hello devs,

ISTM that there is an issue on the ISMN type:
 sh> psql psql (9.3.2) Type "help" for help. # CREATE EXTENTION isn; # SELECT ISMN 'M123456782';  M-1234-5678-5

*** The 2 is changed to 5 in the display...
 # SELECT ISMN 'M123456785'; ERROR:  invalid check digit for ISMN number: "M123456785", should be 2 LINE 1: SELECT ISMN
'M123456785';                   ^ # SELECT ISMN 'M-1234-5678-5'; ERROR:  invalid check digit for ISMN number:
"M-1234-5678-5",should be 2 LINE 1: SELECT ISMN 'M-1234-5678-5';                    ^
 

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: make_interval ??
Next
From: Andres Freund
Date:
Subject: Re: shared memory message queues