Skip to content
Snippets Groups Projects
FAQ 43.7 KiB
Newer Older
    5.1) I wrote a user-defined function. When I run it in psql, why does it
    dump core?
    
Bruce Momjian's avatar
Bruce Momjian committed
   The problem could be a number of things. Try testing your user-defined
Bruce Momjian's avatar
Bruce Momjian committed
   function in a stand-alone test program first.
Bruce Momjian's avatar
Bruce Momjian committed
    5.2) How can I contribute some nifty new types and functions to PostgreSQL?
    
   Send your extensions to the pgsql-hackers mailing list, and they will
   eventually end up in the contrib/ subdirectory.
Bruce Momjian's avatar
Bruce Momjian committed
    5.3) How do I write a C function to return a tuple?
    
   This requires wizardry so extreme that the authors have never tried
   it, though in principle it can be done.
Bruce Momjian's avatar
Bruce Momjian committed
    5.4) I have changed a source file. Why does the recompile not see the
    change?
    
   The Makefiles do not have the proper dependencies for include files.
Bruce Momjian's avatar
Bruce Momjian committed
   You have to do a make clean and then another make. If you are using
   GCC you can use the --enable-depend option of configure to have the
   compiler compute the dependencies automatically.