Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

PostgreSQL validation domains for Italian fiscal codes

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 doc
Octocat-spinner-32 sql
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 META.json
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.rst
Octocat-spinner-32 italian_codes.control
README.rst

Italian Codes Extension

The extension contains validation domains for Italian fiscal codes, such as Codice Fiscale and Partita IVA. See included documentation for instructions about the extension objects and their usage.

Installation

The easiest way to install the extension is to use the PGXN Client and run:

pgxn install italian_codes
pgxn load -d mydb italian_codes

To build from source, just do this:

make
make installcheck
make install

Once italian_codes is installed, you can add it to a database. If you're running PostgreSQL 9.1.0 or greater, it's as simple as connecting to a database as a super user and running:

CREATE EXTENSION italian_codes;

For versions of PostgreSQL less than 9.1.0, you'll need to run the installation script:

psql -d mydb -f /path/to/pgsql/share/contrib/italian_codes.sql

Copyright and License

Copyright (c) 2011 Daniele Varrazzo <daniele.varrazzo@gmail.com>.

The package is released under BSD license. See COPYING for details.

Something went wrong with that request. Please try again.