Vanmunin Chea <[EMAIL PROTECTED]> writes: > // This one is not working > typedef struct Myindex { > double *indexes; > int level; > int size; > } Myindex
You cannot use a pointer inside a Postgres datatype. The system will have no idea that the pointer is there and so will not copy the pointed-to data, nor update the pointer, when the datum is copied, stored on disk, etc. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org