postgresql-unit (7.10-1) unstable; urgency=medium

  * Import definitions.units November 2024 Version 3.22.
  * Also import elements.units, adding some 3800 isotope weights.

 -- Christoph Berg <myon@debian.org>  Mon, 09 Dec 2024 12:16:11 +0100

postgresql-unit (7.9-1) unstable; urgency=medium

  * New upstream version.
  * Upload for PostgreSQL 17.
  * Restrict to 64-bit architectures.

 -- Christoph Berg <myon@debian.org>  Sun, 15 Sep 2024 13:58:15 +0200

postgresql-unit (7.8-1) unstable; urgency=medium

  * New upstream version.
  * Upload for PostgreSQL 16.
  * Use ${postgresql:Depends}.

 -- Christoph Berg <myon@debian.org>  Mon, 18 Sep 2023 22:22:20 +0200

postgresql-unit (7.7-1) unstable; urgency=medium

  * Fix printing of values around 1e33 on i386.

 -- Christoph Berg <myon@debian.org>  Fri, 06 Jan 2023 17:34:42 +0200

postgresql-unit (7.6-1) unstable; urgency=medium

  [ Debian Janitor ]
  * Remove constraints unnecessary since buster (oldstable):
    + Build-Depends: Drop versioned constraint on bison.
  * Use secure copyright file specification URI.
  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.

  [ Christoph Berg ]
  * Import definitions.units September 2022 Version 3.15.
  * Add R ronna, Q quetta, r ronto, Q quecto, Ri robi, Qi quebi prefixes.

 -- Christoph Berg <myon@debian.org>  Wed, 04 Jan 2023 20:42:16 +0200

postgresql-unit (7.5-2) unstable; urgency=medium

  * Upload for PostgreSQL 15.

 -- Christoph Berg <myon@debian.org>  Mon, 24 Oct 2022 16:48:19 +0200

postgresql-unit (7.5-1) unstable; urgency=medium

  * Use "create" without "or replace" in extension sql scripts.
    Fixes security issue spotted by Sven Klemm, thanks!
  * Update definitions.units to September 2020 Version 3.09 from GNU units.
  * Breaking change: 'h' is the Planck constant now; use 'hr' for hours.
  * Implement functions in input language: sqrt exp ln log2 asin tan.

 -- Christoph Berg <myon@debian.org>  Wed, 18 May 2022 16:11:56 +0200

postgresql-unit (7.4-2) unstable; urgency=medium

  * B-D on postgresql-server-dev-all only instead of postgresql-all since we
    are not testing at build-time.
  * Upload for PostgreSQL 14.

 -- Christoph Berg <myon@debian.org>  Thu, 21 Oct 2021 11:29:43 +0200

postgresql-unit (7.4-1) experimental; urgency=medium

  * Fix hash table creation on PostgreSQL 14.

 -- Christoph Berg <myon@debian.org>  Thu, 20 May 2021 17:27:35 +0200

postgresql-unit (7.3-1) unstable; urgency=medium

  * Upload for PostgreSQL 13.
  * Use dh --with pgxs.
  * R³: no.
  * DH 13.
  * debian/tests: Use 'make' instead of postgresql-server-dev-all.

 -- Christoph Berg <myon@debian.org>  Mon, 19 Oct 2020 21:48:27 +0200

postgresql-unit (7.2-2) unstable; urgency=medium

  * Upload for PostgreSQL 12.

 -- Christoph Berg <myon@debian.org>  Thu, 31 Oct 2019 14:33:26 +0100

postgresql-unit (7.2-1) unstable; urgency=medium

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

 -- Christoph Berg <myon@debian.org>  Mon, 20 May 2019 13:38:02 +0200

postgresql-unit (7.1-1) unstable; urgency=medium

  * Import definitions.unit 2.44 from units 2.18 with 36 new units.
  * Adjust powers.h to round "1" down by one ULP.

 -- Christoph Berg <christoph.berg@credativ.de>  Mon, 03 Dec 2018 09:51:31 +0100

postgresql-unit (7.0-2) unstable; urgency=medium

  * Upload for PostgreSQL 11.
  * Use source format 3.0 again.

 -- Christoph Berg <myon@debian.org>  Thu, 11 Oct 2018 22:58:03 +0200

postgresql-unit (7.0-1) unstable; urgency=medium

  * 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.

 -- Christoph Berg <christoph.berg@credativ.de>  Fri, 28 Sep 2018 15:12:50 +0200

postgresql-unit (6.0-1) unstable; urgency=medium

  * 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.

 -- Christoph Berg <christoph.berg@credativ.de>  Wed, 07 Mar 2018 09:30:42 +0100

postgresql-unit (5.0-1) unstable; urgency=medium

  * Add rounding function.
  * Import definitions.units from GNU units 2.16 with 70 new units.
    (The file header erroneously says 2.19.)
  * debian/watch: Ignore debian/ tags.

 -- Christoph Berg <christoph.berg@credativ.de>  Wed, 10 Jan 2018 12:16:58 +0100

postgresql-unit (4.0-2) unstable; urgency=medium

  * Upload with PostgreSQL 10 support.
  * Mark package as non-native and add watch file.

 -- Christoph Berg <myon@debian.org>  Wed, 27 Sep 2017 20:42:41 +0200

postgresql-unit (4.0) unstable; urgency=medium

  * Support exponents written using Unicode superscript characters.
  * Report 22P02/invalid_text_representation on invalid unit input.
  * Fix crash when unit_reset() runs into an OOM error. Patch by Andreas
    Seltenreich, thanks!
  * Change @ operator signature to (unit, text).

 -- Christoph Berg <myon@debian.org>  Fri, 07 Jul 2017 21:42:13 +0200

postgresql-unit (3.1) experimental; urgency=medium

  * Reupload to Debian, the 3.0 tarball uploaded contained generated files
    that broke out-of-tree builds. No source changes.

 -- Christoph Berg <myon@debian.org>  Thu, 23 Mar 2017 11:25:43 +0100

postgresql-unit (3.0) experimental; urgency=medium

  * Support defining new units at runtime.
  * Import unit definitions from GNU units.
  * Add sqrt() and cbrt() functions.
  * Extension is not relocatable after installation anymore.
  * Bump extension version to 3.
  * Bump minimum supported PostgreSQL version to 9.5 so we can use
    hash_create(HASH_BLOBS).
  * Bump license to GPL-3+ to match GNU units' license.

 -- Christoph Berg <myon@debian.org>  Wed, 22 Mar 2017 18:33:22 +0100

postgresql-unit (2.0) unstable; urgency=medium

  * Support IEC binary prefixes for byte.
  * Support United States customary units: in, ft, yd, mi, oz, lb.
  * Add variance and stddev aggregates; bump extension version to 2.

 -- Christoph Berg <myon@debian.org>  Mon, 09 Jan 2017 22:24:23 +0100

postgresql-unit (1.1) unstable; urgency=medium

  * Use float8out_internal to format floats on output.

 -- Christoph Berg <myon@debian.org>  Mon, 31 Oct 2016 11:55:43 +0100

postgresql-unit (1.0) unstable; urgency=medium

  * Initial release.

 -- Christoph Berg <myon@debian.org>  Thu, 22 Sep 2016 15:42:55 +0200