How to allocate space to structure instance

From: Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: How to allocate space to structure instance
Date: 2013-12-10 10:52:43
Message-ID: CANqGtStGMhMaPuYLHa1S3atvTLy4=eO+kYooKLKfR=rmK+dxDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi All,

I was using palloc to allocate space to my structure instance and I am
loosing the information after every transaction.
I want to hold up the information of previous transaction and create a link
list of information(transaction Id) of some transaction together.

Am I using wrong memory context? Or is there anything else also I should
keep in mind.

Please help.

--
Regards,
Rohit Goyal

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James David Smith 2013-12-10 15:11:37 'AND' in WHERE clauses
Previous Message angelina410329 2013-12-10 01:27:10 Re: How to Recover iPhone Contacts You Lost Somehow?