daniel(dot)degasperi(at)r3-gis(dot)com writes:
> CREATE TABLE t23456789012345678901234567890123456789012345678901
> (
> t1234_id serial,
> PRIMARY KEY (t1234_id)
> )
> WITH (
> OIDS=FALSE
> );
> This generated the sequence:
> CREATE SEQUENCE
> t2345678901234567890123456789012345678901234567890_t1234_id_seq
That's operating as designed.
> The table-part in the sequence name was truncated.
Would you rather it failed entirely? You're up against the limit on
name length (63 bytes in a standard Postgres build).
regards, tom lane