* Marcelo de Moraes Serpa <celoserpa@xxxxxxxxx> [20070509 21:14]: > Just replying to say a big thank you ... > I compiled the C extension with the > code you , did all the necessary logic and finally solved it. Thank you very > much for your help! I second that! I finally settled with the simpler solution which was to create a temporary table instead of using a global variable in a C function which seemed reasonably fast enough for us and doesn't introduce the maintainance dependency on a custom C module. Til