Get enum values directly from column_info for PostgreSQL
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 1 Mar 2015 13:06:47 +0000 (13:06 +0000)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 20 Mar 2018 22:21:27 +0000 (22:21 +0000)
commitafa71a988919e114101e41f0241b08ffc2f436f5
tree13ed4dd112d4c1869e52133c59a84c9442a2d92b
parent4a0dee31ab22653d1249298776935d7be8e66f3b
Get enum values directly from column_info for PostgreSQL

But only if DBD:Pg is new enough to deal with reordered values,
or the server too old to support them.
Changes
lib/DBIx/Class/Schema/Loader/DBI.pm
lib/DBIx/Class/Schema/Loader/DBI/Component/QuotedDefault.pm
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm