131 Commits

Author SHA1 Message Date
Vincent Picavet
a94e4c045d Fix PG 9.5 compatibility. 2015-07-30 17:26:54 +02:00
Sandro Santilli
82429d4461 Add a pc_upgrade([<version>]) function 2015-05-15 16:00:58 +02:00
Sandro Santilli
bb0d7b4b6f Force override when linking "next" script 2015-05-15 15:32:06 +02:00
Sandro Santilli
48868f55b9 Create in-development upgrade scripts ("next" prefix) 2015-05-15 15:27:48 +02:00
Sandro Santilli
38944e72df Implement PC_Patch{Min,Max,Avg}(PcPatch) returns PcPoint
Closes #77

NOTE: changes the C function signature so you need to properly
      upgrade scripts for things to work again.
2015-05-15 15:19:47 +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
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
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
ad1c71705a Fix typo in error message 2015-04-21 07:41:23 +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
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
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
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
20c6f462d9 PC_Summary: do not assume schema compression matches actual patch compression 2015-04-09 16:40:31 +02:00
Sandro Santilli
d0922d28b8 Do not generate extension files in the source dir 2015-04-01 12:18:37 +02:00
Sandro Santilli
4834cb1c7f Fix generation of pointcloud.control with cmake 2015-04-01 11:51:53 +02:00
Pete Gadomski
07af590f6b Configure cmake files
Without this patch, cmake install fails.
2015-03-27 21:33:54 -05:00
Sandro Santilli
ca0ef74c5a Remove hard-coded version number from cmake build script
Hopefully fixes #45
2015-03-19 17:12:36 +01:00
Sandro Santilli
3fe9d4599f Implement PC_Summary(pcpatch)
Includes test and docs
2015-03-19 16:54:09 +01:00
Sandro Santilli
007c7f86fd Fix availability info for PC_Get(pcpatch) 2015-03-18 17:13:20 +01:00
Sandro Santilli
9f3d96cea6 Add PC_PCId(pcpoint) and PC_PCId(pcpatch) functions
Closes #50
Includes (online) testcase
2015-03-18 17:13:01 +01:00
Sandro Santilli
f4e0e011c1 Add test for dimensional patch decompression (#44) 2015-03-10 13:43:39 +01:00
Sandro Santilli
4aaa8ca0d7 Revert "Avoid useless call to pc_bytes_serialized_size"
This reverts commit 69ed4d3c36d685b2b79778d52cebe2014f68b69e.

The call was not useless, see #44
2015-03-10 13:41:46 +01:00
Sandro Santilli
69ed4d3c36 Avoid useless call to pc_bytes_serialized_size
Closes #42
2015-02-13 16:20:23 +01:00
Sandro Santilli
009cea221d Fix typo in comment 2015-02-13 12:52:47 +01:00
Sandro Santilli
cc1797fde1 Allow upgrading from 1.0.1 2015-02-12 17:20:53 +01:00
Sandro Santilli
492b8e06a8 Strip aggregates, types and casts from upgrade scripts
Closes #39 (again)
2015-02-12 17:20:13 +01:00
Sandro Santilli
3fa32dd33f Note last updated version for pointcloud_columns view 2015-02-12 17:20:09 +01:00
Sandro Santilli
28b4c1f817 Update expected version 2015-02-12 16:07:21 +01:00
Sandro Santilli
490bce0ae0 Get version from Version.config 2015-02-12 13:41:40 +01:00
Sandro Santilli
196a623ad7 Only create pointcloud_formats table if it doesn't exist 2015-02-12 13:25:58 +01:00
Sandro Santilli
0a668a703e Automate creation of extension scripts, including upgrades
Closes #39
2015-02-12 13:15:03 +01:00
Sandro Santilli
2ecca0b602 Expose PC_Get(pcpoint) returning an array of float8 at the SQL level
Initial code by Remi-C, refactored to reduce code extent and equipped
with regress test.
2015-02-12 12:08:23 +01:00
Sandro Santilli
2c25529a73 Fix pointcloud_columns view definition to handle null-typmoded cols
Closes #27
2015-02-10 10:41:26 +01:00
Sandro Santilli
59b5db04b2 Cleanup after test 2015-02-10 10:39:15 +01:00
Sandro Santilli
fb7823930e Enable GHT regress testing, allow configuring --without-libght 2015-02-04 11:59:01 +01:00
Sandro Santilli
7b7d063591 Add top-level "installcheck" rule, fix expected result 2015-02-04 10:28:50 +01:00
Paul Ramsey
d0e39ac27b Support missing CUnit 2014-10-08 11:12:41 -07:00
Paul Ramsey
4c4bb5d394 Rework OS dependncies 2013-10-29 13:32:28 -07:00
Paul Ramsey
10f2810c6b Formalize mingw linking line in CMake file 2013-10-29 11:45:31 -07:00
Paul Ramsey
b225423337 Merge branch 'master' into cmake 2013-10-23 11:04:02 -07:00
Paul Ramsey
6475de9ad2 Match removed ght test 2013-10-23 09:59:34 -07:00
Paul Ramsey
4cca228929 For #4, return teeny bbox for single-point patches 2013-10-22 16:09:37 -07:00
Paul Ramsey
7468312894 Include win32 includes when building there 2013-10-22 15:56:31 -07:00