Both commands sey in your .psqlrc results in the same path being
used, as I guess that psqlscanslash.l eats all the whitespaces
in-between. So the documentation is not wrong here (see also commit
e4c7619).
--
Michael
The following documentation comment has been logged on the website:
Page:
https://www.postgresql.org/docs/13/app-psql.htmlDescription:
There is a spurious space inside the documentation:
\set HISTFILE ~/.psql_history- :DBNAME
instead of
\set HISTFILE ~/.psql_history-:DBNAME