Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 85DB79FB1E6 for ; Wed, 18 Oct 2006 14:38:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 31831-06 for ; Wed, 18 Oct 2006 17:37:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id F1E4C9FA4AD for ; Wed, 18 Oct 2006 14:37:55 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9IHbsXh028341; Wed, 18 Oct 2006 13:37:55 -0400 (EDT) To: "Magnus Hagander" cc: "George Pavlov" , pgsql-general@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: [HACKERS] query log corrupted-looking entries In-reply-to: <6BCB9D8A16AC4241919521715F4D8BCEA0FC5E@algol.sollentuna.se> References: <6BCB9D8A16AC4241919521715F4D8BCEA0FC5E@algol.sollentuna.se> Comments: In-reply-to "Magnus Hagander" message dated "Wed, 18 Oct 2006 14:06:10 +0200" Date: Wed, 18 Oct 2006 13:37:54 -0400 Message-ID: <28340.1161193074@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/917 X-Sequence-Number: 102443 "Magnus Hagander" writes: > Should work fine on Windows. fileno() is deprecated however, with the > following comment: > C:\Program Files\Microsoft Visual Studio > 8\VC\INCLUDE\stdio.h(688) : see > declaration of 'fileno' > Message: 'The POSIX name for this item is deprecated. Instead, > use the ISO C++ conformant name: _fileno. See online help for details.' Only Microsoft would think that they get to unilaterally deprecate a POSIX standard API :-( We appear to be using fileno() in some dozens of places already, so I see no reason to worry about this. regards, tom lane