Re: [PATCH] print help from psql when user tries to run pg_restore, pg_dump etc

2019-12-06 Thread Fabien COELHO
Hello Craig, New users frequently attempt to run PostgreSQL's command line utilities from the psql prompt. Alas, that is true. I also have the reverse, i.e. SQL commands fed to bash, which does not like it much. They tend to be confused when this appears to do absolutely nothing:

[PATCH] print help from psql when user tries to run pg_restore, pg_dump etc

2019-12-05 Thread Craig Ringer
New users frequently attempt to run PostgreSQL's command line utilities from the psql prompt. They tend to be confused when this appears to do absolutely nothing: psql=> pg_restore psql-> since they're generally not going to semicolon-terminate the command either. The attached