RefLib

Reference library for AI

Back

postgresql_16:9.6.21 isn — data types for international standard numbers (ISBN, EAN, UPC, etc.)

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > isn — data types for international standard numbers (ISBN, EAN, UPC, etc.)

The isn module provides data types for the following international product numbering standards: EAN13, UPC, ISBN (books), ISMN (music), and ISSN (serials). Numbers are validated on input according to a hard-coded list of prefixes; this list of prefixes is also used to hyphenate numbers on output. Since new prefixes are assigned from time to time, the list of prefixes may be out of date. It is hoped that a future version of this module will obtain the prefix list from one or more tables that can be easily updated by users as needed; however, at present, the list can only be updated by modifying the source code and recompiling. Alternatively, prefix validation and hyphenation support may be dropped from a future version of this module.

This module is considered “trusted”, that is, it can be installed by non-superusers who have CREATE privilege on the current database.

Subsections

Back