From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | Emil Rachovsky <zsevgymko(at)yahoo(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Sybase Connection_Property('number') equivalent in PostGre |
Date: | 2005-12-02 10:36:25 |
Message-ID: | Pine.LNX.4.44.0512021235400.10815-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
O Emil Rachovsky έγραψε στις Dec 2, 2005 :
>
> I am trying to find out the PostGre equivalent to
> the Sybase function Connection_Property (which returns
> the connection id, given the parameter 'number') ,but
> without success so far. Can anyone tell me how to
> retrieve the connection id in PostGre?
> Thanks in advance,
> Emil
I think pg_backend_pid() and pg_stat_get_backend_pid(integeger)
are your best bets.
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
> http://www.yahoo.com/r/hs
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
--
-Achilleus
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Fenbers | 2005-12-02 17:15:29 | Just 1 in a series... |
Previous Message | Emil Rachovsky | 2005-12-02 09:04:19 | Sybase Connection_Property('number') equivalent in PostGre ? |