Re: c extension

From: Joe Conway <mail(at)joeconway(dot)com>
To: Kjetil Haaland <kjetil(dot)haaland(at)student(dot)uib(dot)no>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: c extension
Date: 2004-11-05 22:19:37
Message-ID: 418BFC79.1050304@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Kjetil Haaland wrote:
> I have no managed to set the memorycontext to TopMemoryContext but it still
> doesn't work. The table with the integers is still working fine, but the
> table with the characters are no good and it crashes when i try to read it.
> In the log it says that there is a record with zero length.
>
> Does anyone have any suggestion of what could be wrong?

Are you handling NULLs correctly?

Hard to say -- if you really want help you'll need to post your C function.

Joe

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Steph & Matt 2004-11-06 02:58:15 PHP - Tutorial
Previous Message Joe Conway 2004-11-05 22:14:04 Re: building a row with a plpgsql function