Merge pull request #210 from CartoDB/209-remove_bigint_casting_cartodb_id

Remove casting to bigint in cartodb_id column
This commit is contained in:
Carla 2016-03-17 10:31:06 +01:00
commit b89a752548

View File

@ -919,7 +919,7 @@ BEGIN
-- Add cartodb ID!
IF has_usable_primary_key THEN
sql := sql || const.pkey || '::bigint ';
sql := sql || const.pkey || '::integer ';
ELSE
sql := sql || 'nextval(''' || destseq || ''') AS ' || const.pkey;
END IF;