summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_cash.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-08-02 22:12:33 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-08-02 22:12:48 +0300
commit56187c6fb1da0cd5e9b466147595872cfff4b908 (patch)
tree5f3b65c90bb9468aa207ea4743d3ffa3dbd96457 /contrib/btree_gist/btree_cash.c
parent20d1878b6a7f78a4a9ce3668c4588d92bc0af78d (diff)
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.
Diffstat (limited to 'contrib/btree_gist/btree_cash.c')
0 files changed, 0 insertions, 0 deletions