pgsql: Fix CREATE TABLE / LIKE with bigint identity column

2018-03-13 Thread Peter Eisentraut
Fix CREATE TABLE / LIKE with bigint identity column CREATE TABLE / LIKE with a bigint identity column would fail on platforms where long is 32 bits. Copying the sequence values used makeInteger(), which would truncate the 64-bit sequence data to 32 bits. To fix, use makeFloat() instead, like the

pgsql: Fix CREATE TABLE / LIKE with bigint identity column

2018-03-13 Thread Peter Eisentraut
Fix CREATE TABLE / LIKE with bigint identity column CREATE TABLE / LIKE with a bigint identity column would fail on platforms where long is 32 bits. Copying the sequence values used makeInteger(), which would truncate the 64-bit sequence data to 32 bits. To fix, use makeFloat() instead, like the