git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2b10e0e) | patch
Fix BRIN minmax-multi distance for timetz type
Sun, 4 Apr 2021 17:21:41 +0000 (19:21 +0200)
Sun, 4 Apr 2021 17:22:23 +0000 (19:22 +0200)
commit 7262f2421a1e099a631356f7b80ad198e34e2a8a
Fix BRIN minmax-multi distance for timetz type

The distance calculation ignored the time zone, so the result of (b-a)
might have ended negative even if (b > a). Fixed by considering the time
zone difference.

Reported-by: Jaime Casanova
Discussion: https://postgr.es/m/CAJKUy5jLZFLCxyxfT%3DMfK5mtPfSzHA1rVLowR-j4RRsFVvKm7A%40mail.gmail.com
src/backend/access/brin/brin_minmax_multi.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /