pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <mha@sollentuna.net>
Cc: George Pavlov <gpavlov@mynewplace.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] query log corrupted-looking entries
Date: Wed, 18 Oct 2006 16:00:50 -0300
Message-ID: <20061018190050.GA23756@alvh.no-ip.org> (raw)
In-Reply-To: <28340.1161193074@sss.pgh.pa.us>
References: <6BCB9D8A16AC4241919521715F4D8BCEA0FC5E@algol.sollentuna.se>
	<28340.1161193074@sss.pgh.pa.us>

Tom Lane wrote:
> "Magnus Hagander" <mha@sollentuna.net> 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 :-(

Yeah, these are the same guys who chose to implement select() to only
work on sockets and not on plain file descriptors (for example you can't
make it work on a pipe).  This must be the single most far-reaching
change they did to POSIX compatibility.  It's incredibly idiotic and
problematic.  And note that it's not that it's deprecated -- it just
doesn't work at all :-(

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (30+ messages)  latest in thread

Message-ID: <20061018190050.GA23756@alvh.no-ip.org>
Permalink:  ../20061018190050.GA23756@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20061018190050.GA23756@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@commandprompt.com, tgl@sss.pgh.pa.us, mha@sollentuna.net, gpavlov@mynewplace.com, pgsql-general@postgresql.org
  Subject: Re: [HACKERS] query log corrupted-looking entries
  In-Reply-To: <20061018190050.GA23756@alvh.no-ip.org>
  References: <6BCB9D8A16AC4241919521715F4D8BCEA0FC5E@algol.sollentuna.se> <28340.1161193074@sss.pgh.pa.us> <20061018190050.GA23756@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox