same new code

From: User For Mails <iv(at)rex(dot)anfa(dot)pl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: same new code
Date: 2003-07-02 09:52:20
Message-ID: Pine.LNX.4.56.0307021150100.30214@rex.anfa.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

here is function to get client ip address (only ipv4),
server address, and fe/be ports , details inside
http://www.psycho.pl/public/src/pgsql/ivnet.tar.bz2

please test it in yours systems (i tested on Debian 2.4.21 with grsec.)

2. Whats up with PG_RETURN_UINT16 ??
and with type uintXX ?

And why do you writing a block of code in do { ... } while(0) ?
i thing that { ... } will be this same (whitout 'while') (????)

And only types with length == -1 in pg_type must have int32 header with
sizeof () this struct ?

And to better future try dont use words like 'using' to name of variables
because in c++ this words are keywords .... :/

thx
bye

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Behdad Esfahbod 2003-07-02 10:03:54 Re: Setting locale per connection
Previous Message Andreas Pflug 2003-07-02 09:51:59 Re: Index expressions: how to recreate