317 Commits

Author SHA1 Message Date
Sandro Santilli
c052d38e0b Add relation sizes (main, toasts, indexes) 2015-05-04 18:14:51 +02:00
Sandro Santilli
022708bcba Fix stat computed by PC_Filter for scaled/offsetted dimensions.
Closes #78.
Includes testcase.
2015-04-30 13:31:13 +02:00
Sandro Santilli
a632241185 Fix max stat computed by PC_Filter for unscaled dimensions.
Closes #79.
Includes testcase.
2015-04-30 11:58:40 +02:00
Sandro Santilli
ce505591f4 Add support for an --iterate switch, default to 1 (rather than 3) 2015-04-28 17:32:47 +02:00
Sandro Santilli
72b920133c Change default column name to "pa", matching PDAL import 2015-04-27 13:34:54 +02:00
Sandro Santilli
65600f70bb Allow passing custom function to be run by the benchmarker 2015-04-24 18:24:05 +02:00
Sandro Santilli
3c37e6d6fa Add "type" field in the example PC_Summary output 2015-04-24 16:44:23 +02:00
Sandro Santilli
7061bbb549 Add "type" field in pc_summary dimension output 2015-04-24 16:41:21 +02:00
Sandro Santilli
718c931c81 Fix PC_Compress call with single 'dimensional' argument 2015-04-21 16:44:18 +02:00
Sandro Santilli
f28676b482 Fix test for PC_Compress 2015-04-21 16:43:21 +02:00
Sandro Santilli
d345f927c0 Fix leaks in patch unit test 2015-04-21 16:19:57 +02:00
Sandro Santilli
ca62fdf00f Fix leak in pc_patch_from_patchlist 2015-04-21 16:19:52 +02:00
Sandro Santilli
4ba74589d6 Fix mem leak in pc_patch_dimensional_from_pointlist 2015-04-21 16:17:11 +02:00
Sandro Santilli
ab76f32045 Fix leak in pc_patch_compute_stats 2015-04-21 16:15:47 +02:00
Sandro Santilli
dda27dc9d8 Fix leak in pc_patch_dimensional_from_uncompressed 2015-04-21 16:04:58 +02:00
Sandro Santilli
5c7e760632 Add news entry about truncation warning 2015-04-21 14:09:24 +02:00
Sandro Santilli
823744ee08 Do not test WARNINGs (travis doesn't show them..) 2015-04-21 14:05:11 +02:00
Sandro Santilli
c0e75fbd43 Warn when truncating values due to size constraints
Also makes the truncation controled rather than unspecified.
Values are clamped (max if over max, min if below min).

Closes #68

Updates expected output from existing test that uses truncating value
2015-04-21 13:56:09 +02:00
Sandro Santilli
3f3bdab31f Clone stats on dimensional compression
Closes #75
2015-04-21 12:13:17 +02:00
Sandro Santilli
291ccfe57a Fix crash in testcase (due to #75) 2015-04-21 12:01:18 +02:00
Sandro Santilli
44037b743e Leak some leaks from pc_patch unit test 2015-04-21 11:40:21 +02:00
Sandro Santilli
e105cdbc40 Fix memory leak in pc_patch_dimensional_to_string 2015-04-21 11:33:12 +02:00
Sandro Santilli
cd7a644818 Drop a memory copy in pc_patch_to_string (#74) 2015-04-21 11:12:07 +02:00
Sandro Santilli
ad1c71705a Fix typo in error message 2015-04-21 07:41:23 +02:00
Sandro Santilli
fed95d2f73 Remove unused include 2015-04-20 19:17:29 +02:00
Sandro Santilli
84063ca862 Print column storage and total column size (rather than full table size) 2015-04-20 17:45:32 +02:00
Sandro Santilli
d8a40968e8 Attach major version to shared library
Implemented in both autoconf and cmake.
Closes #59.
2015-04-20 12:47:18 +02:00
Sandro Santilli
e7aae3f5e6 Avoid compression cost in decompression scan
Split full scan in PC_Uncompress, PC_Explode, PC_AsText.
Closes #73
2015-04-16 19:21:56 +02:00
Sandro Santilli
dd4165bb7e Scan all dimensions, not just one, and do not assume its presence 2015-04-16 12:02:39 +02:00
Sandro Santilli
73d7498308 Refactor benchmark to directly run psql
Also adds more info in output
2015-04-14 16:22:21 +02:00
Sandro Santilli
1cb2aab70f Do not show WARNINGs from regression
Should fix travis check:
https://travis-ci.org/pgpointcloud/pointcloud/builds/58411794#L520
2015-04-14 11:33:38 +02:00
Sandro Santilli
e5605e9292 Fix crash in schema parser
Closes #71.
Includes testcase.
2015-04-14 11:26:28 +02:00
Sandro Santilli
fc409ca842 Allow specifying per-table column name 2015-04-14 10:15:01 +02:00
Sandro Santilli
6fd8dc6b47 Document PC_Compress function 2015-04-13 17:07:14 +02:00
Sandro Santilli
667dcf3ec0 Fix handling of sigbits encoding with 0 common bits
Includes online check
Closes #69
2015-04-13 16:58:35 +02:00
Sandro Santilli
db42b12e0c Fix memory leak in pc_patch_uncompressed_compute_extent 2015-04-13 15:48:15 +02:00
Sandro Santilli
c72199f1f8 Fix 64bit sigbits encoding 2015-04-13 14:17:01 +02:00
Sandro Santilli
45c0fc7820 Revert "Fix sigbits decoding to handle the 0-commonbits case"
This reverts commit ca64830e53cdae288e80fb8a127c2a86cf141c2f.

It broke other cases, better to rethink (#69)
2015-04-13 14:10:49 +02:00
Sandro Santilli
ca64830e53 Fix sigbits decoding to handle the 0-commonbits case
See #67
2015-04-13 13:40:36 +02:00
Sandro Santilli
9c1edfccdf Add PC_Compress function 2015-04-13 13:39:42 +02:00
Sandro Santilli
00283ac53b Cleanup formats at end of tests 2015-04-13 10:06:17 +02:00
Sandro Santilli
3b569a59b2 Revert "Adding minimal doc for #67"
This reverts commit c9068c712705b3aa351599685d5b7155e4e45da3.

It documents a still unavailable function. To be added later.
2015-04-13 09:51:07 +02:00
Remi-C
c9068c7127 Adding minimal doc for #67 2015-04-10 12:50:58 +02:00
Sandro Santilli
20c6f462d9 PC_Summary: do not assume schema compression matches actual patch compression 2015-04-09 16:40:31 +02:00
Sandro Santilli
3011d8dace Fix crash on cloning schema with missing dimension name/description
Closes #66
Includes testcase
2015-04-09 16:00:27 +02:00
Sandro Santilli
53b4fa1dcb Add test for pc_schema_clone and plug memory leaks in the test
See #65
2015-04-09 12:24:47 +02:00
Sandro Santilli
87c8d4866b Add quick benchmarking tool 2015-04-07 14:17:02 +02:00
Sandro Santilli
bfc1998b53 Fix memory leak in dimensional encoding when all values are equal 2015-04-02 16:33:02 +02:00
Sandro Santilli
11012357fd Support sigbits encoding for 64bit integers
Fixes #61
2015-04-02 16:26:30 +02:00
Sandro Santilli
d0922d28b8 Do not generate extension files in the source dir 2015-04-01 12:18:37 +02:00