Re: table vs. column constraints
От
Tom Lane
Тема
Re: table vs. column constraints
Дата
Msg-id
23157.1018296574@sss.pgh.pa.us
Ответ на
table vs. column constraints (Tim Wilson)
Список
Дерево обсуждения
table vs. column constraints Tim Wilson <wilson@isis.visi.com>
Re: table vs. column constraints Tom Lane <tgl@sss.pgh.pa.us>
Tim Wilson writes: > I'm having trouble understanding when to use table constraints vs. > column ones. There's no functional difference --- if you have a constraint that only involves one column, you can write it either way. Do what seems easier to understand. I believe pg_dump will dump all constraints as table constraints, so in the long run it may not make any difference anyway ;-) regards, tom lane
В списке pgsql-novice по дате отправления
От: Juliet May
Дата: