create user vagrant with createdb password '';
create database vagrant with owner vagrant;
grant all on database vagrant to vagrant;
\c template1
create extension tablefunc;

create user vagrant with createdb password '';
create database vagrant with owner vagrant;
grant all on database vagrant to vagrant;
\c vagrant
create extension tablefunc;

Repair vagrant: core postgres database init script.
Repair vagrant: core postgres database init script.
