Re: Table/Column Constraints

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Table/Column Constraints
Дата
Msg-id 3A19FAEC.5208F775@zort.on.ca
обсуждение исходный текст
Ответ на RE: Table/Column Constraints  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы RE: Table/Column Constraints  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Tom Lane wrote:

> > It would be nice, however, if pg_dump produced the exact same sql as used to
> > create a table.  For instance, if you specify a column constraint, it comes
> > back as a column constraint, rather than a trigger, or a table constraint.
> > This would especially aid portability of the dumped SQL.
> 
> Right, exactly my point above.  We discard too much information that
> needs to be retained somewhere...

I like this conversation as not a day goes by where I don't wish I could
edit the dump of a database rather than keeping structure entirely
seperate -- and actually do so in a useful manner.  That said, whats the
possibility of maintaining comments if the SQL dumps actually became
humanly editable?


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql/src/backend/utils/adt (oid.c)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql/src/backend/access/transam (xlog.c)