get_seq_name should truncate name to NAMEDATALEN, so that this works:

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a6697b361460da9e88d949aa404164183528b094
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-06-06T22:03:48Z
Releases: 7.2.1
get_seq_name should truncate name to NAMEDATALEN, so that this works:
create sequence a1234567890123456789012345678901234567890;
select nextval('a1234567890123456789012345678901234567890');

Files

PathChange+/−
src/backend/commands/sequence.c modified +21 −2