postgresql/contrib/isn
Heikki Linnakangas cb3384a0cb Fix output of ISBN-13 numbers beginning with 979.
An EAN beginning with 979 (but not 9790 - those are ISMN's) are accepted
as ISBN numbers, but they cannot be represented in the old, 10-digit ISBN
format. They must be output in the new 13-digit ISBN-13 format. We printed
out an incorrect value for those.

Also add a regression test, to test this and some other basic functionality
of the module.

Patch by Fabien Coelho. This fixes bug #13442, reported by B.Z. Backpatch
to 9.1, where we started to recognize ISBN-13 numbers.
2015-08-02 22:12:33 +03:00
..
expected Fix output of ISBN-13 numbers beginning with 979. 2015-08-02 22:12:33 +03:00
sql Fix output of ISBN-13 numbers beginning with 979. 2015-08-02 22:12:33 +03:00
EAN13.h
ISBN.h
ISMN.h
isn--1.0.sql Don't quote language name 2011-11-17 18:35:07 -03:00
isn--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
isn.c Fix output of ISBN-13 numbers beginning with 979. 2015-08-02 22:12:33 +03:00
isn.control
isn.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
ISSN.h
Makefile Fix output of ISBN-13 numbers beginning with 979. 2015-08-02 22:12:33 +03:00
UPC.h