Re: pg_dump bug in 7.3.9 with sequences

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_dump bug in 7.3.9 with sequences
Дата
Msg-id 20050202220404.GC1967@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: pg_dump bug in 7.3.9 with sequences  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: pg_dump bug in 7.3.9 with sequences  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: pg_dump bug in 7.3.9 with sequences  (Dawid Kuroczko <qnex42@gmail.com>)
Список pgsql-hackers
On Wed, Feb 02, 2005 at 01:54:48PM -0800, Joshua D. Drake wrote:

> It is not pilot error if PostgreSQL allows it. There is
> nothing "illegal" about the above commands in their execution.
> The pg_dump application should recognize that the object has
> changed and react accordingly.

ISTM this is a bug, but it's not clear to me what is the solution.
I can think of two:

1. Changing the default is forbidden
2. When the default is changed, the dependency on the sequence is
dropped, and the sequence itself is dropped.

Which one do you think is best?  Why?  (I'd say "less bad" instead of
"best", but I'm not sure if that's a correct choice of words.)

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Someone said that it is at least an order of magnitude more work to do
production software than a prototype. I think he is wrong by at least
an order of magnitude."                              (Brian Kernighan)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: libpq API incompatibility between 7.4 and 8.0
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: libpq API incompatibility between 7.4 and 8.0