Re: Persistence problem

From: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
To: "I(dot) B(dot)" <i(dot)bre(at)live(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Persistence problem
Date: 2010-05-12 17:05:36
Message-ID: BFDD8576-809C-4BE2-9DD6-51D42F7D7D30@solfertje.student.utwente.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12 May 2010, at 18:08, I. B. wrote:

> Hello.
>
> I have a problem. I've created several types and functions in C language and implemented them successfully. Or at least I thought so... When I insert, select, update data, everything works fine, but in that session only. As soon as I close psql and start it agan, the data is corrupted. Is there some common mistake I might have made? Code is pretty big, so I don't think it would do any good if I put it here...

That sounds like what the documentation warns you about if you modify a structure directly from postgres without using palloc.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.

!DSPAM:737,4beadfeb10411880534263!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message I. B. 2010-05-12 17:12:10 Re: Persistence problem
Previous Message dennis jenkins 2010-05-12 16:49:31 Re: Reliability of Windows versions 8.3 or 8.4