On Thu, May 19, 2011 at 4:21 AM, Albe Laurenz wrote:
> Pavel Stehule wrote:
>>> Is there any function in PGSQL that returns an unique Session
>>> identifier of the actual session?
>>> For example a Bigint, or GUID, or etc?
>>> Can I get the living Session identifiers from PG?
>>
>> try
>>
>> postg
Pavel Stehule wrote:
>> Is there any function in PGSQL that returns an unique Session
>> identifier of the actual session?
>> For example a Bigint, or GUID, or etc?
>> Can I get the living Session identifiers from PG?
>
> try
>
> postgres=# select pg_backend_pid();
> pg_backend_pid
> -
Hello
2011/5/18 Durumdara :
> Hi!
>
> Is there any function in PGSQL that returns an unique Session
> identifier of the actual session?
> For example a Bigint, or GUID, or etc?
> Can I get the living Session identifiers from PG?
try
postgres=# select pg_backend_pid();
pg_backend_pid
---
Hi!
Is there any function in PGSQL that returns an unique Session
identifier of the actual session?
For example a Bigint, or GUID, or etc?
Can I get the living Session identifiers from PG?
We have a little application that uses these infos which are basically
came from another database system, an