I'm developing an extension to PostgreSQL using C. I created a user-defined
type called geo_trajc_elem. I also created a function to generate an array of
this new type.
()
ArrayType *result_array;
struct geo_trajc_elem *traje = (struct geo_trajc_elem *)palloc(sizeof(struct
rrectly, but I can not
return the structure pointer..
It is wrong the way I'm programming the extension with the PostGIS?
Thanks in advance
De: Paul Ramsey <pram...@cleverelephant.ca>
Enviado: segunda-feira, 14 de agosto de 2017 15:36
Para: Fabiana Zi
Hello.
I will start developing an extension to PostgreSQL next to PostGIS using the C
language.
If my new type were:
CREATE TYPE mytype (.., .., .., geom geometry);
The creation of the structure in c, would be something like?
#include "liblwgeom.h"
Struct mytype
{
Int32 id;
LWGEOM
Hi!
I am studying how to program extensions for PostgreSQL in C language.
In the example to return to return Composite-type Arguments, from the
PostgreSQL 9.6 documentation, I could not make the cash from a cstring to the
HeapTupleHeader type.
That is, instead of the function receive as a
I'm creating an extension to PostgreSQL, with user-defined types and
user-defined functions.
Extensions can be written in C as well as C ++, correct?
I am currently using ATOM to develop in Ubuntu. But I would like to work with
Qt.
PostgreSQL provides the tutorial for working with eclipse:
I already have postgresql 9.6 installed. I'm developing extensions for it in C.
What would be the best IDE to debug the code? Eclipse has many errors.
I am trying around a little bit with creating my own types using shared
objects, written in C. The usage of static types with fixed length was actually
no problem for me, so I proceeded to variable length types. I created an
n-dimensional point structure called "Geo_Polygon" that contains a