ID column naming convention

Поиск
Список
Период
Сортировка
Hi, is there a problem calling ID's different when used as a FK vs table ID?
For example


mydimtable ()
 ID
 name
 description


myfacttable ()
  my_dim_id   # FK to ID above
  total_sales


I 'think' if I don't enforce foreign key constraints, then this practice
prevents tools from being able to generate ERD diagrams right?



--
View this message in context: http://postgresql.nabble.com/ID-column-naming-convention-tp5869844.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Understanding "seq scans"
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: ID column naming convention