2006-10-03 20:30:14 -04:00
|
|
|
/*
|
2006-09-09 00:07:52 -04:00
|
|
|
* ISSN.h
|
|
|
|
|
* PostgreSQL type definitions for ISNs (ISBN, ISMN, ISSN, EAN13, UPC)
|
|
|
|
|
*
|
|
|
|
|
* No information available for UPC prefixes
|
2006-10-03 20:30:14 -04:00
|
|
|
*
|
2006-09-09 00:07:52 -04:00
|
|
|
*
|
|
|
|
|
* IDENTIFICATION
|
2010-09-20 16:08:53 -04:00
|
|
|
* contrib/isn/UPC.h
|
2006-09-09 00:07:52 -04:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* where the digit set begins, and how many of them are in the table */
|
|
|
|
|
const unsigned UPC_index[10][2] = {
|
2006-10-03 20:30:14 -04:00
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
|
|
|
|
{0, 0},
|
2006-09-09 00:07:52 -04:00
|
|
|
};
|
|
|
|
|
const char *UPC_range[][2] = {
|
|
|
|
|
{NULL, NULL}
|
|
|
|
|
};
|