What have you changed about the SQL schema structure?
Not much, I removed the stdin
part and switch to another user in database.
But, my bad on my first message, I did my tests with postgres@9.5.6.
According to this link, postgres@9.2.x
does not seem to be supported anymore.
If that’s an option, and from what I tested, your SQL script seems to work fine on 9.5.6
with the latest lumber version, so I would suggest to upgrade to a more recent version of PG.
Let me know if that helps.