Re: psql -f doesn't complain about directories - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql -f doesn't complain about directories
Date
Msg-id 10549.1196193961@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql -f doesn't complain about directories  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> This should do better:

Looks good to me, though I'd suggest updating gets_fromFile's header comment:

- * The result is a malloc'd string.
+ * The result is a malloc'd string, or NULL on EOF or input error.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PG 7.3 is five years old today
Next
From: Dave Page
Date:
Subject: Re: PG 7.3 is five years old today