Serial Columns in Tables

If a table contains a SERIAL column, PostgreSQL gives you two options:

You may explicitly specify a value for the column.

You may automatically assign a value to the column when a row is inserted.

Therefore, to let PostgreSQL assign the value, you must skip that column when using an RWDBInserter. Please see the method RWDBInserter::operator[] in the DB Interface Module Class Reference.

When reading a table that contains one or more serial columns, serial columns are treated as regular columns.