Re: pg_dump compatibility with 7.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump compatibility with 7.0
Дата
Msg-id 27322.987311326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump compatibility with 7.0  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: pg_dump compatibility with 7.0  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> At the moment it has no idea what do do with aggregates (is there
> anything?), and it assumes 'proisstrict' on functions.

I'll take the blame for the aggregate issue ;-).

SFUNC1/STYPE1/INITCOND1 in 7.0 equate to SFUNC/STYPE/INITCOND in 7.1.
There is no 7.1 equivalent to 7.0's SFUNC2/STYPE2/INITCOND2 --- those
have to be saved/restored separately if you are dumping a 7.0 database
with intentions of restoring it to 7.0.  On the other hand, if you are
dumping 7.0 with an eye to restoring to 7.1, you could just as well
raise an error if those fields are nonnull.

Assuming 'proisstrict' for a 7.0 function seems reasonable.
        regards, tom lane


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Hey guys, check this out.
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Fast Forward (fwd)