In general most databases have some sort of naming convention for indexes, primary key and so forth. In PostgreSQL the following naming has been suggested:
- primary key: tablename_columnname_pkey
- unique constraint: tablename_columnname_key
- exclusive constraint: tablename_columnname_excl
- index for other purposes: tablename_columnname_idx
- foreign key: tablename_columnname_fkey
- sequence: tablename_columnname_seq
- triggers: tablename_actionname_after|before_trig
Your table is a linked table to me. To stay in line with the naming above I would choose the following:
- linked table: tablename1_tablename2_lnk
In a list of table objects the linked table will be after tablename1. This might be visually more appealing. But you could also choose a name that describes the purpose of the link like others have suggested. This might help to keep the name of the id column short (if your link must have its own named id and is referenced in other tables).
- or liked table: purposename_lnk