Re: [GENERAL] ip of the user doing an insert

2003-11-29 Thread Suchandra Thapa
On Sat, 2003-11-29 at 20:46, Tom Lane wrote: > Alvaro Herrera <[EMAIL PROTECTED]> writes: > > Why not use the inet type, which can support both formats? > > What will you do with local Unix connections? Why not use 127.0.0.1 or the ipv6 equivalent. -- Suchandra Thapa <[EMAIL PROTECTED]> signa

Re: [GENERAL] ip of the user doing an insert

2003-11-29 Thread Tom Lane
Alvaro Herrera <[EMAIL PROTECTED]> writes: > Why not use the inet type, which can support both formats? What will you do with local Unix connections? regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase

[GENERAL] ip of the user doing an insert

2003-11-28 Thread Alexander Antonakakis
Is there a function or other way to get the user's ip address the moment an insert is performed? Supposed that many people with the same "pg_username" are conected to the database so no username tracking is usefull. Thanks in advance Alexander Antonakakis ---(end of br