Remove casting to bigint

This commit is contained in:
Carla
2016-03-15 17:00:55 +01:00
committed by Carla Iriberri
parent 2dc6ec618f
commit 90fa45b59d

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;