Re: psql -f doesn't complain about directories

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql -f doesn't complain about directories
Date: 2007-11-15 13:01:58
Message-ID: 200711151401.59184.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Mittwoch, 14. November 2007 schrieb Martijn van Oosterhout:
> It's not the fopen that fails, it's the fgets that returns NULL. We
> don't subsequently check if that's due to an I/O error or EISDIR or if
> it's an end-of-file.

Here is a patch for this.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Attachment Content-Type Size
psql-input-error.patch text/x-diff 931 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jignesh K. Shah 2007-11-15 14:03:09 Re: LDC - Load Distributed Checkpoints with PG8.3b2 on Solaris
Previous Message Alvaro Herrera 2007-11-15 11:46:02 Re: LDC - Load Distributed Checkpoints with PG8.3b2 on Solaris