check_digits 0.3.1

This Release
check_digits 0.3.1
Date
Status
Testing
Latest Stable
check_digits 0.3.3 —
Other Releases
Abstract
Functions to check various identification numbers
Released By
olshevskiy87
License
MIT
Resources
Special Files
Tags

Extensions

check_digits 0.3.1
Functions to check various identification numbers

README

check digits

Functions to check various identification numbers.

Functions

  • check_digits_inn(inn text)

Checks russian Individual Taxpayer Number (INN)

  • check_digits_okpo(okpo text)

Checks All-Russian Classifier of Enterprises and Organizations (OKPO)

  • check_digits_ogrn(ogrn text)

Check Primary State Registration Number (OGRN)

  • check_digits_snils(snils text)

Check Insurance Number of Individual Ledger Account (SNILS)

Installation

Build with

$ make

To make the regression tests run

$ make installcheck

Install with

$ sudo make install

At last to create the extension type in psql

$$ CREATE EXTENSION check_digits;

License

Copyright (c) 2015 - 2016 Dmitriy Olshevskiy. MIT LICENSE. See LICENSE for details.