200 Commits

Author SHA1 Message Date
Blottiere Paul
4fc5df14be Consider that pointcloud, postgis and pointcloud_postgis are in the same schema 2022-02-28 20:55:59 +01:00
Blottiere Paul
ef64a02104 Update output tests 2022-02-28 20:55:59 +01:00
Blottiere Paul
e7289b31eb Remove unused define 2022-02-28 20:55:59 +01:00
Blottiere Paul
5a8a325135 Linter 2022-02-28 20:55:59 +01:00
Blottiere Paul
0245306461 Use constants 2022-02-28 20:55:59 +01:00
Blottiere Paul
2acb18910e Add pointcloud_constants for retrieving pointcloud_formats schema 2022-02-28 20:55:59 +01:00
Blottiere Paul
300c43a9e5 Remove PG 9.6 CI and tests 2022-02-28 11:57:18 +01:00
Blottiere Paul
85ac409517 clang-format 2022-02-08 09:55:39 +01:00
Blottiere Paul
4e98babf74 clang-format pgsql 2022-02-08 09:52:53 +01:00
Blottiere Paul
94b948013f Update expected output 2020-06-18 21:44:42 +02:00
Blottiere Paul
4f55b33de0 Update output results 2020-04-16 20:02:22 +02:00
Blottiere Paul
522e6f2784 Force 8 bytes alignment 2020-04-16 20:02:22 +02:00
Blottiere Paul
67247673a8 Get prepared for v1.2.1 2020-01-07 23:41:24 +01:00
Blottiere Paul
f655191fdd Fixes float precision 2019-12-29 22:20:27 +01:00
Blottiere Paul
5db24ffb1c Update laz regression tests for PG > 9 2019-12-29 22:07:46 +01:00
Blottiere Paul
924722a2df Update expected output for pg > 9 2019-12-27 22:57:01 +01:00
Blottiere Paul
e1dee64012 Manage PG version to compare results 2019-12-27 22:23:56 +01:00
Regina Obe
fa6faa4ec4 Support for PostgreSQL 12 references #243 2019-10-14 20:48:09 -04:00
Baudouin Feildel
3e64c68dd4 Fix boolean case errors when compiling againt pg11 2018-11-27 00:14:13 +01:00
Éric Lemoine
d6b71555c0 Update UPGRADABLE in pgsql/Makefile.in 2018-08-22 11:33:22 +02:00
Éric Lemoine
32df91f46a Get prepared for v1.2.0 2018-08-22 11:09:17 +02:00
Éric Lemoine
5202333208 Mark functions as PARALLEL SAFE 2018-08-21 17:16:10 +02:00
Éric Lemoine
9a29931f6c Fix memcpy size in pc_patch_wkb_set_int32 2018-08-17 14:28:23 +02:00
Blottiere Paul
2388891c5c Add test for laz compression 2018-06-19 14:32:01 +01:00
Blottiere Paul
efeef700a8 Remove laz compression test when lazperf is disabled 2018-06-19 12:54:50 +01:00
Blottiere Paul
655bb706cb Fix expected sql when lazperf is disabled 2018-06-19 12:49:27 +01:00
Éric Lemoine
4aab079994
Merge pull request #223 from elemoine/version
Change the version number to 1.1.1
2018-06-18 09:41:59 +02:00
Éric Lemoine
f6016909aa Change version number to 1.1.1 in pointcloud.out 2018-06-18 09:24:23 +02:00
Blottiere Paul
8d8770bd4a Fix installcheck when lazperf is disabled 2018-06-18 06:16:24 +01:00
Blottiere Paul
a1f94c1117 Update sql for tests (lazperf compression code is 2 now) 2018-06-14 18:34:05 +01:00
Blottiere Paul
063a5b1651 Remove GHT support 2018-06-14 18:34:05 +01:00
Karl Pietrzak
4f738eb072 Add PC_MakePatch(pcid integer, values float8[])
Add PC_MakePatch to create a patch from a pcid and an array of float8 values.
2018-06-14 18:49:52 +02:00
Éric Lemoine
2cbd6f0b7d Add a PC_Uncompress LAZ SQL test 2018-06-12 08:45:01 +02:00
Éric Lemoine
7d17b5ebff Add id column to laz test table 2018-06-12 08:42:48 +02:00
Éric Lemoine
59eb4671ef Fix typo in a pcerror message 2018-06-11 21:51:52 +02:00
Éric Lemoine
d775ea0a14 Fix typos in function declarations 2018-04-30 10:04:33 +02:00
Éric Lemoine
540195e63d
Merge pull request #202 from elemoine/rip-cmake
Drop CMake support for building
2018-04-27 11:36:22 +02:00
Éric Lemoine
8f7e0079ca Include Git short commit hash in POINTCLOUD_VERSION 2018-04-27 08:38:50 +02:00
Éric Lemoine
0670d95d4b Add a PC_Full_Version function
This commit adds a PC_Full_Version function whose output is as follows:

	# select pc_full_version();
										 pc_full_version
	------------------------------------------------------------------------------------------
	 POINTCLOUD="1.1.0" PGSQL="96" LIBXML2="2.9.4" LIBGHT enabled=false LAZPERF enabled=false
	(1 row)
2018-04-27 08:38:50 +02:00
Éric Lemoine
19075af104 Drop CMake support for building 2018-04-27 07:31:11 +02:00
Éric Lemoine
9e00ac2260 Remove the generic cache 2018-02-26 11:30:32 +01:00
Éric Lemoine
087e5d6ab7 Remove "stat text default" argument
This removes the "stat text default" argument from the PC_PatchMin, PC_PatchMax and PC_PatchAvg functions. This argument is not used, and it causes performance issues as reported in https://github.com/pgpointcloud/pointcloud/issues/187.

With this, after upgrading, the PC_PatchMin, PC_PatchMax and PC_PatchAvg functions with the previous signature (with three arguments) will be preserved. DROP FUNCTION PC_PatchXXX(pcpatch, text, text) should be used to drop them.
2017-07-24 09:06:03 +02:00
Éric Lemoine
07c3ddd9f6 Prefix WKB API functions with pc_
This is to avoid conflicts with other libraries, like PostGIS.
2017-06-12 08:42:45 +02:00
Éric Lemoine
2273d93ab5 Fix pcpatch_envelope_as_bytea function declaration 2017-04-27 17:34:06 +02:00
Éric Lemoine
353450758f Add PC_Envelope back to the pointcloud extension
This commits adds `PC_Envelope` back to the pointcloud extension. This is to address the backward-compatibility issue raised in #168.
2017-04-26 18:06:07 +02:00
Éric Lemoine
d552002187 Add PC_Transform
This commit adds a `PC_Transform` function that returns a new patch with its data transformed based on the passed `pcid`.

In contrast to `PC_SetPCId` this function may reinterpret the data if dimension interpretations, scales or offsets are different in the new schema. In the future `PC_Transform` will also re-project the patch data if the schema `srid` has changed, but that is not yet supported.
2017-04-26 16:46:40 +02:00
Éric Lemoine
1c439e20df Ignore case where comparing dimension names
The case of the characters should be ignored when comparing dimension names in pcpatch_schema_same_dimensions. This is to match the behavior of pc_schema_get_dimension_by_name which ignores the case.
2017-04-20 08:34:04 +02:00
Éric Lemoine
7b112653c0 Merge pull request #163 from elemoine/pc-setpcid
Add PC_SetPCId
2017-04-14 16:01:23 +02:00
Éric Lemoine
9491f09dc6 Add PC_SetPCId
This commit adds a `PC_SetPCId` function that can be used to change the schema of a patch.
2017-04-12 09:15:48 +02:00
Éric Lemoine
35114e80d3 Merge pull request #162 from elemoine/pointcloud-abs
Make pointcloud_abs_out|in immutable and strict
2017-04-09 20:24:30 +02:00