Skip to content
Snippets Groups Projects
Commit 8ef08ccb authored by Christoph Berg's avatar Christoph Berg :satellite:
Browse files

Fix negator of >

negator for > was wrongly set to >= before, fix to <=.
parent 96fbd7fe
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@ DATA = \
debversion--1.0.6--1.0.7.sql \
debversion--1.0.7--1.0.8.sql \
debversion--1.0.8--1.1.sql \
debversion--1.1.sql
debversion--1.1--1.2.sql \
debversion--1.2.sql
REGRESS = debversion
PG_CONFIG = pg_config
......
postgresql-debversion (1.1.2-4) unstable; urgency=medium
postgresql-debversion (1.2.0-1) unstable; urgency=medium
* Fix negator of >.
* Upload for PostgreSQL 17.
* Restrict to 64-bit architectures.
* Mark postgresql-all as <!nocheck>.
......
-- negator for > was wrongly set to >= before, fix to <=
update pg_operator set oprnegate = '<=(debversion,debversion)'::regoperator where oid = '>(debversion,debversion)'::regoperator;
--- Debian version type and operators -*- sql -*-
---
--- Copyright © 2008 Roger Leigh <rleigh@debian.org>
--- Copyright © 2017 Christoph Berg <myon@debian.org>
--- Copyright © 2017, 2024 Christoph Berg <myon@debian.org>
---
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
......@@ -166,7 +166,7 @@ CREATE OPERATOR > (
LEFTARG = debversion,
RIGHTARG = debversion,
COMMUTATOR = <,
NEGATOR = >=,
NEGATOR = <=,
RESTRICT = scalargtsel,
JOIN = scalargtjoinsel
);
......
comment = 'Debian version number data type'
default_version = '1.1'
default_version = '1.2'
module_pathname = '$libdir/debversion'
relocatable = true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment