Support identity columns in PostgreSQL v10 postgres-identity-columns
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 6 Oct 2017 14:47:03 +0000 (15:47 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 23 Feb 2018 15:20:23 +0000 (15:20 +0000)
commit013d8a3d7f3bf2e7b59a4655250160f66fc56846
treead395938d5a40593ed9783e8925c19189ab578b5
parent40f9888acbbad69d5bf101e46eaef45c85ce2b79
Support identity columns in PostgreSQL v10

They are specified with GENERATED {ALWAYS | BY DEFAULT} AS IDENTITY,
and don't show up with a defined default value in ->column_info, so we
must check pg_attribute manually.
Changes
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
t/10_03pg_common.t