this is the 'sequence' equivalent to ANSICompiler's 'visit_insert_column_default' which ensures that the column is present in the generated column list
We need accurate rowcounts for updates, inserts and deletes.
psycopg2 is not nice enough to produce this correctly for an executemany, so we do our own executemany here.
We need accurate rowcounts for updates, inserts and deletes.
psycopg2 is not nice enough to produce this correctly for an executemany, so we do our own executemany here.