cygwin: create function getpid (backend process id) - equivalent to MS SQL Server SPID ? - Mailing list pgsql-cygwin

From Cédric Dufour
Subject cygwin: create function getpid (backend process id) - equivalent to MS SQL Server SPID ?
Date
Msg-id NDBBIFNBODNADCAOFDOAAEINCDAA.cedric.dufour@freesurf.ch
Whole thread Raw
List pgsql-cygwin
Could anyone confirm that the returned value from the function below behaves the same way as MS SQL Server @@SPID variable and that it remains unchanged and unique throughout a connection ?
 
    create function getpid() returns int as '/bin/cygwin1.dll' language 'c';
    select getpid();
 
Thanx a lot.
 
    Cédric Dufour

pgsql-cygwin by date:

Previous
From: "MONGOZULA D' BANGO"
Date:
Subject: URGENT ASSISTANCE NEEDED
Next
From: Jason Tishler
Date:
Subject: Re: Postgres