> + myextra = (int *) malloc(sizeof(int)); Please consider not casting malloc(). See http://c-faq.com/malloc/mallocnocast.html
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных