pgsql: Apply identity sequence values on COPY

2017-12-08 Thread Peter Eisentraut
Apply identity sequence values on COPY A COPY into a table should apply identity sequence values just like it does for ordinary defaults. This was previously forgotten, leading to null values being inserted, which in turn would fail because identity columns have not-null constraints. Author: Mic

pgsql: Apply identity sequence values on COPY

2017-12-08 Thread Peter Eisentraut
Apply identity sequence values on COPY A COPY into a table should apply identity sequence values just like it does for ordinary defaults. This was previously forgotten, leading to null values being inserted, which in turn would fail because identity columns have not-null constraints. Author: Mic