mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Remove unused define
This commit is contained in:
parent
5a8a325135
commit
e7289b31eb
@ -289,7 +289,7 @@ PCSCHEMA *pc_schema_from_pcid_uncached(uint32 pcid)
|
||||
if (SPI_processed <= 0)
|
||||
{
|
||||
SPI_finish();
|
||||
elog(ERROR, "no entry in \"%s\" for pcid = %d", POINTCLOUD_FORMATS, pcid);
|
||||
elog(ERROR, "no entry in \"%s\" for pcid = %d", formats, pcid);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -301,8 +301,7 @@ PCSCHEMA *pc_schema_from_pcid_uncached(uint32 pcid)
|
||||
if (!(xml_spi && srid_spi))
|
||||
{
|
||||
SPI_finish();
|
||||
elog(ERROR, "unable to read row from \"%s\" for pcid = %d",
|
||||
POINTCLOUD_FORMATS, pcid);
|
||||
elog(ERROR, "unable to read row from \"%s\" for pcid = %d", formats, pcid);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -324,7 +323,7 @@ PCSCHEMA *pc_schema_from_pcid_uncached(uint32 pcid)
|
||||
{
|
||||
ereport(ERROR, (errcode(ERRCODE_NOT_AN_XML_DOCUMENT),
|
||||
errmsg("unable to parse XML for pcid = %d in \"%s\"", pcid,
|
||||
POINTCLOUD_FORMATS)));
|
||||
formats)));
|
||||
}
|
||||
|
||||
schema->pcid = pcid;
|
||||
|
||||
@ -20,10 +20,6 @@
|
||||
#include "utils/array.h"
|
||||
#include "utils/builtins.h" /* for pg_atoi */
|
||||
|
||||
#define POINTCLOUD_FORMATS "pointcloud_formats"
|
||||
#define POINTCLOUD_FORMATS_XML "schema"
|
||||
#define POINTCLOUD_FORMATS_SRID "srid"
|
||||
|
||||
#define PG_GETARG_SERPOINT_P(argnum) \
|
||||
(SERIALIZED_POINT *)PG_DETOAST_DATUM(PG_GETARG_DATUM(argnum))
|
||||
#define PG_GETARG_SERPATCH_P(argnum) \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user