Re: pg_dump in 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump in 7.4
Дата
Msg-id 21733.1037200937@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump in 7.4  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> The suggestion of breaking items into create/alter etc is interesting - I 
> assume you are thinking of function bodies? Or is there something else?

Let's see --- foreign-key constraints are an obvious source of possible
circularities, but I see pg_dump already dumps those as separate
objects.  I recall thinking that column default and constraint clauses
might need to be broken out too, but I'm not sure why I thought that
(maybe because they can call SQL functions?).  Anything else?

A simple-minded approach would be to *always* add these things via
ALTER commands at the end, but to keep dumps legible it would be
nicer to keep them in the original table definition whenever
possible.
        regards, tom lane


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

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: performance regression, 7.2.3 -> 7.3b5 w/ VIEW
Следующее
От: Philip Warner
Дата:
Сообщение: Re: pg_dump in 7.4