Fixing the getNextSequenceValueSql query for PostgreSQL

Of course, why not make a mistake while correcting a typo right ?