Skip site navigation (1) Skip section navigation (2)

Re: psql -f doesn't complain about directories

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, 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-27 20:06:01
Message-ID: 10549.1196193961@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

pgsql-hackers by date

Next:From: Dave PageDate: 2007-11-27 20:07:17
Subject: Re: PG 7.3 is five years old today
Previous:From: Tom LaneDate: 2007-11-27 19:26:55
Subject: Re: PG 7.3 is five years old today

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group