Shawn Garbett <shawn_garbett(at)yahoo(dot)com> writes:
> I am exploring writing an extension in C to Postgres,
> but I can't find how to get a unique number
> identifying the current connection.
There isn't a globally unique number. If you're satisfied with
something unique among active connections, I'd suggest backend PID.
regards, tom lane
In response to
pgsql-novice by date
|Next:||From: Marc G. Fournier||Date: 2005-07-19 20:37:23|
|Subject: Re: Hosting |
|Previous:||From: Derrick Betts||Date: 2005-07-19 19:56:19|
|Subject: Re: Hosting|