Konstantin Knizhnik
457e3a3ebc
Mx offset bug ( #4775 )
...
Fix mx_offset_to_flags_offset() function
Fixes issue #4774
Postgres `MXOffsetToFlagsOffset` was not correctly converted to Rust
because cast to u16 is done before division by modulo. It is possible
only if divider is power of two.
Add a small rust unit test to check that the function produces same results
as the PostgreSQL macro, and extend the existing python test to cover
this bug.
Co-authored-by: Konstantin Knizhnik <knizhnik@neon.tech >
Co-authored-by: Heikki Linnakangas <heikki@neon.tech >
2023-07-21 21:20:53 +03:00
..
2023-07-20 13:39:19 -04:00
2023-06-05 18:12:58 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-03 15:21:10 +03:00
2023-07-03 15:21:10 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-12 15:12:37 +01:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-06-30 14:17:44 -07:00
2023-06-30 15:01:06 +03:00
2023-07-17 17:26:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-06-24 01:38:27 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-06-30 15:01:06 +03:00
2023-07-18 12:56:40 +03:00
2023-04-25 14:10:18 +02:00
2023-04-13 14:34:29 +03:00
2023-05-26 00:05:11 +03:00
2023-07-21 21:20:53 +03:00
2023-07-10 20:01:01 +01:00
2023-06-06 14:59:36 +01:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-06-29 15:06:07 -04:00
2023-05-05 02:57:47 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-05-18 22:38:33 +01:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-07-20 13:39:19 -04:00
2023-07-20 13:39:19 -04:00
2023-07-18 12:56:40 +03:00
2023-06-02 14:59:10 +03:00
2023-04-13 14:34:29 +03:00
2023-05-24 12:47:01 +01:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-06-24 10:34:15 +03:00
2023-06-15 17:30:12 +03:00
2023-07-18 12:56:40 +03:00
2023-06-15 17:30:12 +03:00
2023-05-04 16:16:48 +02:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-07-18 12:56:40 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-04-13 14:34:29 +03:00
2023-07-18 12:56:40 +03:00
2023-07-19 06:03:51 +04:00
2023-06-19 15:59:38 +04:00
2023-05-12 15:28:51 +01:00
2023-06-06 14:59:36 +01:00