core35Example.sdl
Schema for the core35Example_main.c example. Compile this schema using rdm-compile as follows:
rdm-compile --c-structs --lc-struct-members --catalog core35Example.sdl
and include the generated header file(s) as follows:
#include "core35Example_structs.h" #include "core35Example_cat.h"
and compile the following generated source file(s):
core35Example_cat.c
Here follows the actual schema:
CREATE TABLE rtree_table
(
id UINT32 primary key,
rect DOUBLE ARRAY[4] KEY USING R_TREE NOT NULL,
);