Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Magnus Hagander <magnus(at)hagander(dot)net>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
Date: 2008-11-21 20:05:07
Message-ID: 20081121200507.GJ5210@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Robert Haas escribió:
> >> Maybe syslog?
> >
> > Doesn't exist on Windows ...
>
> There is an event log though which is fairly comparable. Of course
> that still leaves you with the problem of what to do when the syslog
> or event log write fails.

Well, syslog does not have a return code, which probably means that it
can't fail (and if it does, there's no way for you to know).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-11-21 20:14:27 pgsql: Fix a few more format argument warnings.
Previous Message Magnus Hagander 2008-11-21 19:42:12 pgsql: Document which GUC settings are enums and not strings, along with

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-11-21 20:06:13 Re: Cool hack with recursive queries
Previous Message Magnus Hagander 2008-11-21 19:42:36 Re: Should enum GUCs be listed as such in config.sgml?