Hi,
As described in the manual[1], PREPARE ... AS command supports MERGE and VALUES statements, but current psql's tab completion does not suggest them.
I created a patch that enables MERGE and VALUES to appear as tab completion suggestions.
What do you think?
[1] https://www.postgresql.org/docs/devel/sql-prepare.html
--
Haruna Miwa