Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 12, 2013
  1. Fix off-by-one memory issue.

    It was resulting in garbage characters with certain semvers with patch
    versions. Regression tests with the patch version "release1" replicate the
    issue. My thanks again to Andrew "RhodiumToad" Gierth for pointing out the
    lack of `+1` in a call to `palloc()` that was the underlying cause of the
Commits on Nov 20, 2012
  1. @pvande

    Updating the text representation of prerelease versions.

    pvande authored
    This produces output results that now properly conform to the most modern version of
    the SemVer spec w.r.t. prerelease versions.
  2. @pvande

    Adding transitional support for hyphenated prereleases.

    pvande authored
    This check can be tightened down later if we want to implement only (/sigh) the *current*
    v1.0.0 SemVer spec.
  3. @pvande
Commits on Oct 15, 2012
  1. Fix incorrect memory allocation in `emit_semver()`.

    Noticed for certain semvers cast to text could come out with a garbage
    character appended to them. Thanks to RhodiumToad for help with diagnosis.
    While at it, switch to `snprintf()` to prevent buffer overrun vulnerabilities.
Commits on Feb 4, 2011
  1. Require PostgreSQL 8.4.

    Also, PL/pgSQL for tests.
    In passing, fix the pgTAP version number.
  2. s{clean_semver}{to_semver}g

    I think it's a better name, a complement to to_char() in a way. Used for the
    numeric casts (for the moment).
  3. Add casts from numeric types.

  4. Only explicit casts.

  5. @samv

    Add more tests for clean_semver

    samv authored
  6. @samv

    Use some more 'realistic' super-large version numbers

    samv authored
    Some people use the current date in iso8601 YYYYMMDD form, let's test
Commits on Feb 3, 2011
  1. @samv

    Get (most) tests passing

    samv authored
  2. Extract semver from PGXN Manager.

    Create a PGXS-powered extension distribution for it. Just needs docs and it'll be ready for PGXN.
Something went wrong with that request. Please try again.