search for: default_sequence_name

Displaying 1 result from an estimated 1 matches for "default_sequence_name".

2005 Nov 07
0
pk_and_sequence_for(table) bug?
Hi, Doing connection.pk_and_sequence_for doesn''t return anything when I''m positive I''ve got a PK and sequence on my table on column "id", see DDL below. Is this a bug? ?> Player.primary_key => "id" >> Player.connection.default_sequence_name "players" => "players_id_seq" >> Player.connection.pk_and_sequence_for "players" => nil >> Here''s what RoR sends to the postgresql server with this last method call LOG: statement: SELECT attr.attname, (name.nspname || '...