createlang stop calling it
Our script seems to still insist on calling createlang. I presume to install plpgsql. When was the last time PostgreSQL databases didn't come with plpgsql preinstalled? I can't remember.
Even then the easier way would be to
CREATE EXTENSION IF NOT EXISTS plpgsq