fixes #4232, prevent double shield of the sequence name with pgsql