PostgreSQL sequence functions fails with CamelCase names
This is because the functions accept string as argument so simple quoting the name does not preserve the case.
Indeed we should use '"CamelCaseSequene"'
but it is complicate using parametrized queries so this post provides a solution using format
function.
Edited by Cédric Krier