• Marc G. Fournier's avatar
    | · 011ee131
    Marc G. Fournier authored
    |We're all too familiar with psql's "no response from backend" message.
    |Users can't tell what this means, and psql continues prompting for
    |commands after it even though the backend is dead and no commands can
    |succeed.  It eventually dies on a signal when the dead socket fills
    |up.  I extended the message to offer a better explanation and made
    |psql exit when it finds the backend is dead.
    |
    |I also added a short message and newline when the user does a ctl-D so
    |it doesn't mess up the terminal display.
    |
    |
    
    Submitted by: Bryan Henderson <bryanh@giraffe.netgate.net>
    011ee131
psql.c 34.9 KB