Commit after creating indexes.
Revert "Commit after creating indexes."

This reverts commit c1941169a93512c032fed5eaee908649d4a14cf6.

Index creation already commits.
Fix empty list_tables() during database creation.

The read user does not yet have permissions, so the tables don't show
up.
Quote table and sequence names for safety.
Remove needless sequence update.

The database has just been created - there are no additional records to
update for.
Fix wording inconsistency.
Revert "Remove needless sequence update."

This reverts commit f2f430471413786fbd0ee3ea5c88941d438a1bea.

This wasn't a sequence update - it was permissions.
Add id update script.
Fix import; missing argument.
Update TODO.
Use parameter substitution in sequence lookup.

Note that paremeter substitution does not work for identifiers because
it produces literals / constants.
Query sequence name instead of assuming format.
Update readme.