Thread: pgsql: Return proper value for psql -f filename failure if filename open

pgsql: Return proper value for psql -f filename failure if filename open

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
Return proper value for psql -f filename failure if filename open fails.

Backpatch to 8.0.X.

Modified Files:
--------------
    pgsql/src/bin/psql:
        command.c (r1.152 -> r1.153)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c.diff?r1=1.152&r2=1.153)
        startup.c (r1.122 -> r1.123)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c.diff?r1=1.122&r2=1.123)