Projects / pgmp


pgmp is a PostgreSQL extension module that adds support for the arbitrary precision data types offered by the GMP library. It provides higher performance arithmetic for numbers, only limited by the 1GB varlena maximum size, a rational data type for absolute precision storage and arithmetic, and specialized functions to deal with prime numbers, random numbers, and factorization. The GMP data types can be used in mixed arithmetic with other PostgreSQL numeric types and indexed using the btree or hash methods. The extension is compatible with PostgreSQL 8.4 and later, and the package includes comprehensive documentation and regression tests.

Operating Systems

Recent releases

  •  23 May 2011 01:05

    Release Notes: First stable version.

    •  22 Apr 2011 21:51

      Release Notes: This release adds support for GMP 4.1 and 4.2. It adds metadata required to publish the extension on PGXN (

      •  08 Apr 2011 22:20

        Release Notes: Initial release.


        Project Spotlight


        A Fluent OpenStack client API for Java.


        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.