Skip to content

Commit c93475f

Browse files
committed
Import definitions.units September 2022 Version 3.15.
1 parent c15b76c commit c93475f

10 files changed

+1320
-746
lines changed

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
7.6: Jan 04, 2023
2+
-----------------
3+
* Import definitions.units September 2022 Version 3.15.
4+
15
7.4: May 20, 2021 - World Metrology Day
26
---------------------------------------
37
* Fix hash table creation on PostgreSQL 14.

debian/changelog

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
postgresql-unit (7.5-3) UNRELEASED; urgency=medium
1+
postgresql-unit (7.6-1) UNRELEASED; urgency=medium
22

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

9+
[ Christoph Berg ]
10+
* Import definitions.units September 2022 Version 3.15.
11+
812
-- Debian Janitor <[email protected]> Mon, 24 Oct 2022 16:32:10 -0000
913

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

definitions.units

+430-220
Large diffs are not rendered by default.

definitions.units.patched

+428-222
Large diffs are not rendered by default.

definitions.unresolved

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ guilder netherlandsguilder
4747
hollandguilder netherlandsguilder
4848
peso mexicopeso
4949
yen japanyen
50-
lira italylira
50+
lira turkeylira
5151
rupee indiarupee
5252
drachma greecedrachma
5353
franc francefranc
@@ -112,11 +112,14 @@ loony 1 canadadollar
112112
toony 2 canadadollar
113113
satoshi 1e-8 bitcoin
114114
XBT bitcoin
115+
brmgd mega brgallon/day
116+
usmgd mega usgallon/day
115117
percapita per capita
116118
dollar US$
117119
cent $ 0.01
118120
penny cent
119121
grand usgrand
122+
π pi
120123
¢ cent
121124
£ britainpound
122125
¥ japanyen

do

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ set -eux
44

55
export PGDATABASE=postgres
66

7-
for PGVERSION in ${*:-14 13 12 11 10 9.6 9.5}; do
7+
for PGVERSION in ${*:-15 14 13 12 11 10 9.6 9.5}; do
88
echo
99
echo "### $PGVERSION ###"
1010
PG_CONFIG=/usr/lib/postgresql/$PGVERSION/bin/pg_config
1111
export PGCLUSTER="$PGVERSION/main"
1212
export PGPORT="54${PGVERSION/./}"
13-
[ "$PGVERSION" = "14" ] && unset PGPORT # default version
13+
[ "$PGVERSION" = "15" ] && unset PGPORT # default version
1414

1515
make clean
1616
make PG_CONFIG=$PG_CONFIG PROFILE="-Werror"

expected/time.out

+123-104
Large diffs are not rendered by default.

expected/units.out

+155-92
Large diffs are not rendered by default.

load-units.pl

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
my @todo;
2828
my $continued = '';
2929

30+
<F>; # skip over initial line with BOM
31+
3032
while (<F>) {
3133
# skip over locale specific parts
3234
$skip_british = 1 if /^!var UNITS_ENGLISH GB/;

unit_units.data

+167-104
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)