The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/app-psql.html Description:
Hi quit and exit commands have been added to psql starting from psql 11 through this commit df9f599b https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=df9f599bc6f14307252ac75ea1dc997310da5ba6 but it is not documented in psql documentation https://www.postgresql.org/docs/11/app-psql.html . it has been documented in the release note only https://www.postgresql.org/docs/11/release-11.html#id-1.11.6.9.5.10.2 , please check below two lines . Allow quit and exit to exit psql when given with no prior input (Bruce Momjian) Also print hints about how to exit when quit and exit are used alone on a line while the input buffer is not empty. Add a similar hint for help. Thanks, Mohamed Ali .