Skip to content

Releases: df7cb/postgresql-unit

postgresql-unit 7.9

15 Sep 12:10
7.9
Compare
Choose a tag to compare
  • Mark _PG_init with PGDLLEXPORT

postgresql-unit 7.8

15 Sep 12:09
7.8
Compare
Choose a tag to compare
  • Upgrade .github CI test

postgresql-unit 7.7

06 Jan 15:46
7.7
Compare
Choose a tag to compare
  • Fix printing of values around 1e33 on i386.

postgresql-unit 7.6

04 Jan 19:06
7.6
Compare
Choose a tag to compare
  • Import definitions.units September 2022 Version 3.15.
  • Add R ronna, Q quetta, r ronto, Q quecto, Ri robi, Qi quebi prefixes.

postgresql-unit 7.4

04 Jan 17:01
7.4
Compare
Choose a tag to compare

7.4: May 20, 2021 - World Metrology Day

  • Fix hash table creation on PostgreSQL 14.

postgresql-unit 7.3

04 Jan 17:00
7.3
Compare
Choose a tag to compare

7.3: Oct 19, 2020

  • Packaging updates.

postgresql-unit 7.2

04 Jan 17:00
7.2
Compare
Choose a tag to compare

7.2: May 20, 2019 - World Metrology Day

  • Rewire PostgreSQL 12's new extra_float_digits=1 default internally to 0 to
    keep nice, short decimal representations.

postgresql-unit 7.1

03 Dec 08:58
7.1
Compare
Choose a tag to compare

7.1: Dec 3, 2018

  • Import definitions.unit 2.44 from units 2.18 with 36 new units.
    When upgrading from a previous install, use SELECT unit_load(); to import.
  • Adjust powers.h to round "1" down by one ULP.

postgresql-unit 7.0

28 Sep 13:14
7.0
Compare
Choose a tag to compare

7.0: Sep 28, 2018

  • Format time using commonyears + days + hh:mm:ss.sss s.
  • Avoid using Gs for Gigaseconds, that's actually gauss.
  • Modify @(unit, text) operator to return text instead of cstring.
  • Import definitions.units from GNU units 2.17 with 13 new units.
  • Add π to known units.
  • Remove bison 2 compat mode, but keep pregenerated files for jessie and
    trusty.
  • Support send/receive via the binary protocol.
  • Support Infinity and NaN.
  • Add strict comparison operators that error out when dimensions of arguments
    do not match: << <<= == <<>> >>= >>.
  • Add range type over units: unitrange.

postgresql-unit 6.0

07 Mar 09:01
6.0
Compare
Choose a tag to compare

6.0: Mar 7, 2018

  • Add @@ operator: similar to @, but returns the value of the resulting unit
    as double precision number.
  • Fix parsing of addition/subtraction in unit values.
  • Grant SELECT on unit prefixes and units table to public.
  • Add unit_load() function to load/update the data tables.