• Peter Eisentraut's avatar
    psql: Improve error display for psql -f - · 89c2f573
    Peter Eisentraut authored
    Running "psql -f -" used to print
    
    psql:<stdin>:1: ERROR:  blah
    
    but that got broken between 8.4 and 9.0 (commit
    b291c0fb), and now it printed
    
    psql:-:1: ERROR:  blah
    
    This reverts to the old behavior and cleans up some code that was left
    dead or useless by the mentioned commit.
    89c2f573
command.c 60.1 KB