62 Commits

Author SHA1 Message Date
Regina Obe
553a137543 Fix for PG16 stringToQualifiedNameList
Closes #338
2023-08-13 14:43:20 -04:00
Blottiere Paul
ffce132e26 Code style 2022-08-19 11:00:44 +02:00
Blottiere Paul
1a25b0d1b7 Fix undefined symbol GETSTRUCT for PG < 12 2022-08-19 10:56:05 +02:00
Blottiere Paul
83df7d0718 Fix another compilation issue for PG < 12 2022-08-19 10:50:42 +02:00
Blottiere Paul
1a0cc02551 Fix compilation for PG < 12 2022-08-19 10:29:15 +02:00
Blottiere Paul
944011351d Fix code layout 2022-08-19 10:07:32 +02:00
Blottiere Paul
b935bcbd0a Fix 'ExtensionOidIndexId’ undeclared with PG < 14 2022-08-19 10:02:26 +02:00
Blottiere Paul
615b1ee09a Init constants cache without fcinfo 2022-08-19 09:56:41 +02:00
Christoph Berg
b362164b74 Don't call SPI_finish() when erroring out
SPI_connect() opens a new memory context, which is then destroyed by
SPI_finish(). Since we are invoking quote_qualified_identifier()
inbetween, which pallocs its result in that memory context, we cannot
use "formats" in the error messages because that pointer has already
been freed by then. Fix by dropping all SPI_finish() calls in paths that
elog(ERROR) which do handle the memory cleanup anyway.
2022-05-25 14:50:17 +02: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
85ac409517 clang-format 2022-02-08 09:55:39 +01:00
Blottiere Paul
522e6f2784 Force 8 bytes alignment 2020-04-16 20:02:22 +02:00
Regina Obe
fa6faa4ec4 Support for PostgreSQL 12 references #243 2019-10-14 20:48:09 -04:00
Éric Lemoine
9a29931f6c Fix memcpy size in pc_patch_wkb_set_int32 2018-08-17 14:28:23 +02:00
Blottiere Paul
063a5b1651 Remove GHT support 2018-06-14 18:34:05 +01:00
Éric Lemoine
59eb4671ef Fix typo in a pcerror message 2018-06-11 21:51:52 +02:00
Éric Lemoine
9e00ac2260 Remove the generic cache 2018-02-26 11:30:32 +01: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
Mathieu Brédif
3b8f165b35 PCSCHEMA *pc_schema_from_xml(const char *)
consistent return of pc_schema_from_xml : NULL on failure
2017-03-17 12:14:02 +01:00
Mathieu Brédif
ef5fc167d8 indentation normalization 2017-02-12 23:52:15 +01:00
Éric Lemoine
3a04787079 Use __attribute__ ((format (printf, x, y))) (#126)
This commit adds __attribute__ ((format (printf, x, y))) where it makes sense.
2017-01-26 17:45:50 +01:00
Blottiere Paul
b3764bd5dc Add lazperf pcpatch 2016-06-14 10:22:16 +02: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
Paul Ramsey
4cca228929 For #4, return teeny bbox for single-point patches 2013-10-22 16:09:37 -07:00
Paul Ramsey
12123bdbb1 astyle pass 2013-06-12 17:13:19 -07:00
Paul Ramsey
c4dbf6377d Quiet warnings in Centos6 2013-06-10 13:17:15 -07:00
Paul Ramsey
69ec4d3ce0 More rejig 2013-05-31 16:17:15 -07:00
Paul Ramsey
8174fa4ca3 Finish implementation of patch-level stats 2013-05-31 15:36:23 -07:00
Paul Ramsey
89611f6101 Working draft of stats on serialization and patches, oof 2013-05-31 12:07:48 -07:00
Paul Ramsey
b76a3b8300 Continue with stats calculation reworking 2013-05-30 16:18:42 -07:00
Paul Ramsey
52d6e0243f Rough draft of stats w/ serialize/deserialize 2013-05-28 19:20:53 -07:00
Paul Ramsey
8d70753800 Some commenting 2013-05-27 11:55:07 -07:00
Paul Ramsey
0afb39f7ac Move WKB extent extract to db side,
so it can do higher performance datum
slicing instead of pulling the whole
object off disk
2013-05-08 13:52:45 -07:00
Paul Ramsey
3be4b4102b Working GHT in the database 2013-05-06 15:00:59 -07:00
Paul Ramsey
0b30dc5d0b Test for GHT patch 2013-05-06 13:49:36 -07:00
Paul Ramsey
c4f92fa223 Add to string functions, extent function 2013-05-06 09:40:22 -07:00
Paul Ramsey
c6df52281c Roughing GHT support. WKB read, serialization, deserialization done. WKB write remains to do. 2013-05-06 05:56:17 -07:00
Paul Ramsey
309dddf4c8 Rough start of GHT compression support 2013-04-30 16:51:23 -07:00
Paul Ramsey
1d81da98ac More errors on missing schema in WKB 2013-04-09 14:08:30 -07:00
Paul Ramsey
8b3df45cab Fix dimensional serialization 2013-03-15 10:19:37 -10:00
Paul Ramsey
6e7dc88520 Update copyright to reference NrCan 2013-03-08 13:53:06 -08:00
Paul Ramsey
73da920ff0 Remove trailing white space from .c files 2013-03-08 13:46:06 -08:00
Paul Ramsey
d4a104bd77 Enable dimensional storage in the db 2013-03-06 22:06:23 -08:00
Paul Ramsey
f6f9c4281c PC_Uncompress and PC_NumPoints 2013-03-06 11:14:46 -08:00
Paul Ramsey
c7060031b5 Add dimensional compression routines, right out to the
patch level. Now to add them to SQL.
2013-03-01 16:42:15 -08:00
Paul Ramsey
24fd7bef7a Add caching to XML schema support,
required for reasonable performance
in real world use cases.
2013-02-07 13:54:08 -08:00