Re: ERROR: Memory exhausted in AllocSetAlloc(909324558) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)
Date
Msg-id 9970.992105423@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)  (darcy@druid.net (D'Arcy J.M. Cain))
Responses Re: ERROR: Memory exhausted in AllocSetAlloc(909324558)  (darcy@druid.net (D'Arcy J.M. Cain))
List pgsql-hackers
darcy@druid.net (D'Arcy J.M. Cain) writes:
>     char        cardnum[48];
> ...
>     newval = CStringGetDatum(cardnum);

And you are trying to assign this datum to what kind of column?
(Hint: there isn't any kind for which a plain C string is valid data.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: bruc@stone.congenomics.com (Robert E. Bruccoleri)
Date:
Subject: Re: Various silliness in heap_getnext and related routines
Next
From: Tom Lane
Date:
Subject: Re: [JDBC] unlink large objects