session id and global storage - Mailing list pgsql-hackers

From David Hoksza
Subject session id and global storage
Date
Msg-id 525800902.20060530144618@seznam.cz
Whole thread Raw
List pgsql-hackers
Hi, I cant find any function, which tells me something like session
id. Is there something like that? I need it in my AM, because I need
to know, if something which I wrote in file was written in this
current session or previously.

And second thing - it would be great if I could save pointer in some
global storage, because I would like to access my dynamically created
tree in more subsequent scans, which is impossible with void pointer
stored just in opaque scan structure:(

Thnaks,      David Hoksza



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: 64bit build vs 32 bit build
Next
From: Andrew Dunstan
Date:
Subject: Re: plperl's ppport.h out of date?