Re: Unique ID of connection

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: trurl(at)realtor3d(dot)odessa(dot)ua
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unique ID of connection
Date: 2001-01-27 03:55:26
Message-ID: 200101270355.WAA00300@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alex Pilosov 2001-01-27 04:20:10 Re: Too many open files! how do I fix on linux?
Previous Message David Wall 2001-01-27 03:40:52 Re: how do you run your backups?