Re: Unique ID of connection

Поиск
Список
Период
Сортировка
Искать

Re: Unique ID of connection

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Now there is a truly great, concise example.

> 
> Hi all!
> 
> Very usefull sample:
> 
>  CREATE FUNCTION getpid () returns int4 as '/lib/libc.so.6' LANGUAGE 'C';
>  SELECT getpid();
> 
> ;))
> 
> 
> P.S. Only for Linux!
> 
> 
> -- 
>       Trurl McByte, Capt. of StasisCruiser "Prince"
> |InterNIC: AR3200                   RIPE: AR1627-RIPE|
> |--98 C3 78 8E 90 E3 01 35  87 1F 3F EF FD 6D 84 B3--|
> 
> 


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Unique ID of connection

От:
Trurl McByte <trurl@anything3d.com>
Дата:

Hi all!

Very usefull sample:

 CREATE FUNCTION getpid () returns int4 as '/lib/libc.so.6' LANGUAGE 'C';
 SELECT getpid();

;))


P.S. Only for Linux!


-- 
      Trurl McByte, Capt. of StasisCruiser "Prince"
|InterNIC: AR3200                   RIPE: AR1627-RIPE|
|--98 C3 78 8E 90 E3 01 35  87 1F 3F EF FD 6D 84 B3--|

FAQ